fix thread stuff (obs from Jiefei Ma).
This commit is contained in:
1
C/init.c
1
C/init.c
@@ -1139,6 +1139,7 @@ InitThreadHandles(void)
|
||||
Yap_heap_regs->thread_handle[0].handle = pthread_self();
|
||||
pthread_mutex_init(&ThreadHandle[0].tlock, NULL);
|
||||
pthread_mutex_init(&ThreadHandle[0].tlock_status, NULL);
|
||||
Yap_heap_regs->thread_handle[0].tdetach = MkAtomTerm(AtomFalse);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user