erlang's global lock
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

15 lines
291 B

%% 锁key
-define(EtsGLockKey, '$EtsGLockKey').
%% 默认超时时间单位:Ms
-define(LockTimeOut, 5000).
%% 超时重试时间单位:Ms
-define(ReTryTime, 10).
-define(eELockMgr, eELockMgr).
%% 数组数量
-define(eALockSize, 1048576).
%% atomics索引
-define(eALockRef, eALockRef).