ae事件库
文章平均质量分 82
Lucien166
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
ae事件库
#include #include "ae.h" typedef struct aeApiState { int epfd; struct epoll_event *events; } aeApiState; static int aeApiCreate(aeEventLoop *eventLoop) { aeApiState *state = malloc(sizeof(aeApiS转载 2014-06-23 09:19:19 · 1144 阅读 · 0 评论 -
ae事件库
#ifndef __AE_H__ #define __AE_H__ #include #include /* * 事件执行状态 */ #define AE_OK 0 // 成功 #define AE_ERR -1 // 出错 /* * 文件事件状态 */ #define AE_NONE 0 // 未设置 #define AE_READABLE 1 // 可读转载 2014-07-02 16:00:49 · 2018 阅读 · 0 评论
分享