summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe Mistachkin <joe@mistachkin.com>2013-10-29 00:30:40 (GMT)
committerJoe Mistachkin <joe@mistachkin.com>2013-10-29 00:30:40 (GMT)
commit0919b454160e54a2dda768e599a756e68aa883ed (patch)
tree8c6ada34d8f8bf5fb338f163decf2b5b17cb1a14
parent9f9c9a2bc48662116c0a24f9e96ec85c081e500f (diff)
downloadtcl-unsetThreadData.zip
tcl-unsetThreadData.tar.gz
tcl-unsetThreadData.tar.bz2
Also finalize the condition variables for each notifier thread.unsetThreadData
-rw-r--r--unix/tclUnixNotfy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/unix/tclUnixNotfy.c b/unix/tclUnixNotfy.c
index abe371b..3d82cd7 100644
--- a/unix/tclUnixNotfy.c
+++ b/unix/tclUnixNotfy.c
@@ -1375,6 +1375,7 @@ AtForkChildProc(void)
ckfree((char *) filePtr);
filePtr = nextFilePtr;
}
+ Tcl_ConditionFinalize(&(tsdPtr->waitCV));
}
waitingListPtr = NULL;