close(triggerPipe);
Tcl_ConditionWait(¬ifierCV, ¬ifierMutex, NULL);
result = Tcl_JoinThread(notifierThread);
result = Tcl_JoinThread(notifierThread, NULL);
if (result) {
Tcl_Panic("Tcl_FinalizeNotifier: unable to join notifier
thread");
}