Przeglądaj źródła

ft: 测试修改

master
SisMaker 1 rok temu
rodzic
commit
2047c514c1
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      src/eGLock.erl

+ 1
- 1
src/eGLock.erl Wyświetl plik

@ -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.

Ładowanie…
Anuluj
Zapisz