ソースを参照

ft: fix

master
SisMaker 1年前
コミット
8e85846f9f
4個のファイルの変更2行の追加2行の削除
  1. +2
    -2
      c_src/eNifLock/eNifLock.cc
  2. バイナリ
      priv/eNifLock.dll
  3. バイナリ
      priv/eNifLock.exp
  4. バイナリ
      priv/eNifLock.lib

+ 2
- 2
c_src/eNifLock/eNifLock.cc ファイルの表示

@ -18,8 +18,7 @@ typedef struct KeyNode_r{
bool isNotCurLocked(KeyNode *LockedHead, int KeyIx){
KeyNode *temp = LockedHead;
while (temp != NULL){
if (temp->KeyIx == KeyIx)
return false;
if (temp->KeyIx == KeyIx) return false;
temp = temp->next;
}
return true;
@ -73,6 +72,7 @@ ERL_NIF_TERM tryLock(ErlNifEnv *env, int, const ERL_NIF_TERM argv[]){
LockSlot[temp->KeyIx].compare_exchange_strong(RExpected, 0);
temp = temp->next;
}
return atomFalse;
}
}
}

バイナリ
priv/eNifLock.dll ファイルの表示


バイナリ
priv/eNifLock.exp ファイルの表示


バイナリ
priv/eNifLock.lib ファイルの表示


読み込み中…
キャンセル
保存