initialise thread local prredicates.

This commit is contained in:
Vítor Santos Costa 2011-11-30 13:03:22 +00:00
parent dcfdb5e614
commit 0b81d99803
1 changed files with 2 additions and 0 deletions

View File

@ -114,6 +114,8 @@ store_specs(int new_worker_id, UInt ssize, UInt tsize, UInt sysize, Term *tpgoal
REMOTE_ThreadHandle(new_worker_id).texit_mod = tmod;
REMOTE_ThreadHandle(new_worker_id).texit =
Yap_StoreTermInDB(tgoal,7);
REMOTE_ThreadHandle(new_worker_id).local_preds =
NULL;
return TRUE;
}