- 博客(1)
- 收藏
- 关注
原创 时间轮定时器
基础数据结构: event_type _type; // 类型 uint64_t _index; // guid(时间戳) uint32_t _repeat; // 重复次数 timer_callback _caller; // 回调 时间轮结构定义: union timer_clock { time64_t
2018-01-28 15:21:52 551
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
基础数据结构: event_type _type; // 类型 uint64_t _index; // guid(时间戳) uint32_t _repeat; // 重复次数 timer_callback _caller; // 回调 时间轮结构定义: union timer_clock { time64_t
2018-01-28 15:21:52 551
TA创建的收藏夹 TA关注的收藏夹
TA关注的人