Explorar el Código

ft: 测试修改

master
SisMaker hace 1 año
padre
commit
2047c514c1
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      src/eGLock.erl

+ 1
- 1
src/eGLock.erl Ver fichero

@ -86,7 +86,7 @@ releaseLock(KeyOrKeys) ->
[atomics:compare_exchange(ALockRef, OneKeyIx, PidInt, 0) || OneKeyIx <- KeyIxs],
ok;
_ ->
atomics:compare_exchange(ALockRef, rlang:phash2(KeyOrKeys, ?eGLockSize) + 1, PidInt, 0),
atomics:compare_exchange(ALockRef, erlang:phash2(KeyOrKeys, ?eGLockSize) + 1, PidInt, 0),
ok
end.

Cargando…
Cancelar
Guardar