多进程工作者的全局定时器 替代单进程工作模式的erlangtimer
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
SisMaker 5b0816b380 ft: 优化 2 years ago
include ft: 多工作者的全局定时器 3 years ago
src ft: 优化 2 years ago
.gitignore 更新 '.gitignore' 3 years ago
LICENSE ft: 多工作者的全局定时器 3 years ago
README.md ft: 添加说明 3 years ago
rebar.config ft: 多工作者的全局定时器 3 years ago

README.md

gTimer

多工作进程的全局定时器

Build

$ rebar3 compile

Useage

startWork/1     开启指定数量的定时器工作者
setTimer/2      随机一个定时器工作者然后设置定时器    
setTimer/3      指定选择定时器工作者策略然后设置定时器  
getTimer/1      获取定时器的信息
delTimer/1      删除一个定时器