433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
|
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
|
-
+
|
"unable to write q to triggerPipe");
}
close(triggerPipe);
pthread_mutex_lock(¬ifierMutex);
while(triggerPipe != -1) {
pthread_cond_wait(¬ifierCV, ¬ifierMutex);
}
pthread_mutex_lock(¬ifierMutex);
pthread_mutex_unlock(¬ifierMutex);
if (notifierThreadRunning) {
int result = pthread_join((pthread_t) notifierThread, NULL);
if (result) {
Tcl_Panic("Tcl_FinalizeNotifier: unable to join notifier "
"thread");
}
|