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

@@ -3204,7 +3204,7 @@ YAP_Reset(yap_reset_t mode)
/* always have an empty slots for people to use */
P = CP = YESCODE;
// ensure that we have slots where we need them
Yap_CloseSlots(1);
Yap_RebootSlots( worker_id );
RECOVER_MACHINE_REGS();
return res;
}