instrument PE locking
fix missing unlock in index_pred (if predicate had been indexed while we were waiting).
This commit is contained in:
1
C/init.c
1
C/init.c
@@ -1159,7 +1159,6 @@ InitFirstWorkerThreadHandle(void)
|
||||
ThreadHandle.default_yaam_regs =
|
||||
&Yap_standard_regs;
|
||||
ThreadHandle.pthread_handle = pthread_self();
|
||||
ThreadHandle.pthread_handle = pthread_self();
|
||||
pthread_mutex_init(&FOREIGN_ThreadHandle(0).tlock, NULL);
|
||||
pthread_mutex_init(&FOREIGN_ThreadHandle(0).tlock_status, NULL);
|
||||
ThreadHandle.tdetach = MkAtomTerm(AtomFalse);
|
||||
|
Reference in New Issue
Block a user