多进程工作者的全局定时器 替代单进程工作模式的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 eaedc1d840 ft: IIF改成CASE 1 year ago
include ft: IIF改成CASE 1 year ago
src ft: IIF改成CASE 1 year ago
.gitignore 更新 '.gitignore' 3 years ago
LICENSE ft: 多工作者的全局定时器 3 years ago
README.md ft: 添加说明 3 years ago
rebar.config ft: 编译选项 no_debug_info, deterministic 1 year ago

README.md

gTimer

多工作进程的全局定时器

Build

$ rebar3 compile

Useage

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