Libevent 反应堆的初始化
摘要:
// 默认情况下new eventbase struct event_base * event_base_new(void) { struct event_base *base = NULL; //初始化系统配置 struct event_config *cfg = event_config_new(); // 使用默认的配置方法 if (cfg) { ... 阅读全文
posted @ 2017-11-09 16:38 沐浴凌风 阅读(393) 评论(1) 推荐(0) 编辑