多进程工作者的全局定时器 替代单进程工作模式的erlangtimer
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
SisMaker 15d9143782 Merge remote-tracking branch 'origin/master' il y a 3 ans
include ft: 多工作者的全局定时器 il y a 3 ans
src ft: 修正名字 il y a 3 ans
.gitignore 更新 '.gitignore' il y a 3 ans
LICENSE ft: 多工作者的全局定时器 il y a 3 ans
README.md ft: 添加说明 il y a 3 ans
rebar.config ft: 多工作者的全局定时器 il y a 3 ans

README.md

gTimer

多工作进程的全局定时器

Build

$ rebar3 compile

Useage

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