RebootSlots when we start a new execution.

This commit is contained in:
Vítor Santos Costa
2015-02-10 09:19:05 +00:00
parent 081b2a464e
commit ab41d5411e
3 changed files with 13 additions and 2 deletions

View File

@@ -1844,7 +1844,7 @@ Yap_InitYaamRegs( int myworker_id )
h0var = MkVarTerm();
REMOTE_AttsMutableList(myworker_id) = Yap_NewTimedVar(h0var);
#endif
REMOTE_CurSlot(myworker_id) = 1; /* This function has direct access to the Handles class AKA InitSlot */
Yap_RebootSlots( myworker_id );
h0var = MkVarTerm();
REMOTE_GcGeneration(myworker_id) = Yap_NewTimedVar(h0var);
REMOTE_GcCurrentPhase(myworker_id) = 0L;