多进程工作者的全局定时器 替代单进程工作模式的erlangtimer
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 

8 行
198 B

%% 相关配置模块名
-define(gTimerCfg, gTimerCfg).
%% 工作者数量
-define(workCnt, workCnt).
%% 三元表达式
-define(IIF(Cond, Ret1, Ret2), (case Cond of true -> Ret1; _ -> Ret2 end)).