fix bad lock
This commit is contained in:
parent
c9c097b32d
commit
8b118f1778
@ -2649,7 +2649,7 @@ new_lu_int_key(Int key)
|
|||||||
p->ArityOfPE = 3;
|
p->ArityOfPE = 3;
|
||||||
p->OpcodeOfPred = Yap_opcode(_op_fail);
|
p->OpcodeOfPred = Yap_opcode(_op_fail);
|
||||||
p->cs.p_code.TrueCodeOfPred = p->CodeOfPred = FAILCODE;
|
p->cs.p_code.TrueCodeOfPred = p->CodeOfPred = FAILCODE;
|
||||||
WRITE_UNLOCK(ae->FRWLock);
|
WRITE_UNLOCK(ae->ARWLock);
|
||||||
INT_LU_KEYS[hash_key] = p0;
|
INT_LU_KEYS[hash_key] = p0;
|
||||||
return p;
|
return p;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user