use stdbool

This commit is contained in:
Vítor Santos Costa
2014-09-09 23:50:43 -05:00
parent 9b5c4ea710
commit 3c0a65218b
11 changed files with 210 additions and 93 deletions

View File

@@ -203,7 +203,7 @@ LookupAtom(const char *atom)
HashChain[hash].Entry = na;
INIT_RWLOCK(ae->ARWLock);
WRITE_UNLOCK(HashChain[hash].AERWLock);
CACHE_REGS
if (NOfAtoms > 2*AtomHashTableSize) {
Yap_signal(YAP_CDOVF_SIGNAL);
}
@@ -271,7 +271,7 @@ LookupWideAtom(const wchar_t *atom)
WideHashChain[hash].Entry = na;
INIT_RWLOCK(ae->ARWLock);
WRITE_UNLOCK(WideHashChain[hash].AERWLock);
CACHE_REGS
if (NOfWideAtoms > 2*WideAtomHashTableSize) {
Yap_signal(YAP_CDOVF_SIGNAL);
}