each OPTYap worker needs its own auxiliary stack!

This commit is contained in:
Vítor Manuel de Morais Santos Costa 2010-01-29 12:28:00 +00:00
parent 4b8d655437
commit f56b9ab426
1 changed files with 3 additions and 0 deletions

View File

@ -2406,6 +2406,9 @@ YAP_Init(YAP_init_args *yap_init)
*/
Yap_InitYaamRegs();
#endif /* SBA */
#ifndef THREADS
Yap_InitPreAllocCodeSpace();
#endif
/* slaves, waiting for work */
CurrentModule = USER_MODULE;
P = GETWORK_FIRST_TIME;