new interface to access globals. They are not in a file called GLOBALS, from which
we generate several files automatically.
This commit is contained in:
@@ -2368,8 +2368,8 @@ YAP_Init(YAP_init_args *yap_init)
|
||||
}
|
||||
#if THREADS
|
||||
/* don't forget this is a thread */
|
||||
ThreadHandle[worker_id].stack_address = Yap_GlobalBase;
|
||||
ThreadHandle[worker_id].ssize = Trail+Stack;
|
||||
MY_ThreadHandle.stack_address = Yap_GlobalBase;
|
||||
MY_ThreadHandle.ssize = Trail+Stack;
|
||||
#endif
|
||||
#endif
|
||||
Yap_AllowGlobalExpansion = TRUE;
|
||||
@@ -2414,6 +2414,8 @@ YAP_Init(YAP_init_args *yap_init)
|
||||
}
|
||||
yap_flags[FAST_BOOT_FLAG] = yap_init->FastBoot;
|
||||
#if defined(YAPOR) || defined(TABLING)
|
||||
/* make sure we initialise this field */
|
||||
GLOBAL_root_dep_fr = NULL;
|
||||
make_root_frames();
|
||||
#ifdef YAPOR
|
||||
init_workers();
|
||||
|
Reference in New Issue
Block a user