libevent book——event | Gaccob的博客

libevent book——event | Gaccob的博客

libevent book——event

原文地址:http://www.wangafu.net/~nickm/libevent-book/
网上找的一个不错的翻译地址:http://blog.sina.com.cn/s/articlelist_1457448730_3_1.html

第四章 event

libevent的基本操作单元是event,每个event代表了一组条件,包括:
(1) fd可读或者可写;
(2) fd变得可读或者可写(边缘触发);
(3) 超时;
(4) 信号;
(5) 用户触发的事件;

原文地址:https://www.cnblogs.com/lexus/p/3280123.html