摘要: libevent 发生超时后, while循环一次从堆顶del timer——直到最新调整的最小堆顶不是超时事件为止,(实际是del event),但是会稍后把这个timeout的 event放到active 任务list里, 等待处理,event标记为timeout,等处理actvie队列时再由应 阅读全文
posted @ 2016-09-08 22:18 aitao 阅读(3890) 评论(0) 推荐(0) 编辑