each OPTYap worker needs its own auxiliary stack!
This commit is contained in:
parent
4b8d655437
commit
f56b9ab426
@ -2406,6 +2406,9 @@ YAP_Init(YAP_init_args *yap_init)
|
|||||||
*/
|
*/
|
||||||
Yap_InitYaamRegs();
|
Yap_InitYaamRegs();
|
||||||
#endif /* SBA */
|
#endif /* SBA */
|
||||||
|
#ifndef THREADS
|
||||||
|
Yap_InitPreAllocCodeSpace();
|
||||||
|
#endif
|
||||||
/* slaves, waiting for work */
|
/* slaves, waiting for work */
|
||||||
CurrentModule = USER_MODULE;
|
CurrentModule = USER_MODULE;
|
||||||
P = GETWORK_FIRST_TIME;
|
P = GETWORK_FIRST_TIME;
|
||||||
|
Reference in New Issue
Block a user