Skip to content
/ rk-tw Public

一个使用TimeWheel思想实现的定时器

Notifications You must be signed in to change notification settings

Crazyokd/rk-tw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RK-TW

一个使用TimeWheel思想实现的定时器。 a implementation of TimeWheel with C.

功能

  1. 创建、启动和销毁时间轮
  2. 添加、提前、延后和删除定时任务
  3. 按照一定时间间隔循环执行定时任务

设计

design

待办

  1. 每个slot使用多级队列

About

一个使用TimeWheel思想实现的定时器

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published