Open wenfh2020 opened 3 years ago
https://wenfh2020.com/2021/03/30/libco-timer/
libco 定时器核心数据结构:数组 + 链表,有点像哈希表,通过空间换时间。libco 定时器也被称为时间轮,我们看看这个 “轮” 是怎么转的。
https://wenfh2020.com/2021/03/30/libco-timer/
libco 定时器核心数据结构:数组 + 链表,有点像哈希表,通过空间换时间。libco 定时器也被称为时间轮,我们看看这个 “轮” 是怎么转的。