libevent能够处理三种事件: I/O、定时器、信号。 event_base统一管理所有事件。 eventop 用于描述event_base的底层实现机制 libevent支持多种平台,因此定义了一个全局数组来存放多个eventop。 Linux平台的I/O多路复用机制是epoll,对应epol ...
分类:
其他好文 时间:
2017-10-17 12:18:42
阅读次数:
251
35w/m 43 Mary and her husband Dimitri lived in the tiny village of Perachora in southern Greece. One of Mary's prize possessions was a little white la ...
分类:
其他好文 时间:
2017-10-17 10:01:24
阅读次数:
177
3-1 import java.util.Scanner;public class AdditionQuiz { public static void main(String[] args) { int number1=(int)(System.currentTimeMillis()%10); in ...
分类:
其他好文 时间:
2017-10-16 14:51:08
阅读次数:
113
With redux-observable, we have the power of RxJS at our disposal - this means tasks that would otherwise be complicated and imperative, become simple ...
分类:
Web程序 时间:
2017-10-16 02:15:30
阅读次数:
199
google出来的解决方案:创建静态ip的方法,既然虚拟机桥接模式下无法通过主机网卡获取ip桥接到网络,那么我们就创建最大网络地址,然后reboot,这样虚拟机就可以获取ip联网了。 Static IP address assignment: Choose one of the following ...
分类:
其他好文 时间:
2017-10-16 00:11:12
阅读次数:
366
the prototype of relloc is extern void *realloc(void *men_address, unsigned int newsize) grammarpointer name = (data type*)realloc(the name of the poi ...
分类:
其他好文 时间:
2017-10-15 19:49:57
阅读次数:
120
这一节课讲解了求解线性规划问题的方法:单纯形法(simplex method)。 ...
分类:
其他好文 时间:
2017-10-15 19:45:46
阅读次数:
146
载光盘Linux代码#mkdir/media/cdrom#mount/dev/cdrom/media/cdrom挂载不上重启linux编辑yum源文件在/etc/yum.repos.d/目录下创建文件.repo,并在里面加入以下代码(原来有的,直接进去改)更新yum源#yumupdate[rhel-media]name=RedHatEnterpriseLinux6.5baseurl=file:///media/..
分类:
系统相关 时间:
2017-10-15 17:34:34
阅读次数:
191
一:Linux基础1: VM 安装 linux Enterprise_R5_U4_Server_I386_DVD教程图解2:Redhat5_linux 系统环境下 oracl11g的安装教程图解 二:Oracle安装入门1:linux_OEL5.4_安装Oracle11g中文教程图解2:ORACLE... ...
分类:
其他好文 时间:
2017-10-15 11:30:18
阅读次数:
171
Azure VMs provide a way to move your on-premises SQL Server workloads and applications to the Cloud. Scenarios There are many reasons that you might c ...
分类:
其他好文 时间:
2017-10-15 00:43:27
阅读次数:
147