summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2016-03-21 09:16:28 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2016-03-21 09:16:28 (GMT)
commitc031c59ec3e4290d29f9c819b2640e90a176ad13 (patch)
treeffae5343039a0902be4686d58f64d2b828910189
parentd291d84481a5f1d56df04bfffcd53fae1a5c8a00 (diff)
downloadtcl-c031c59ec3e4290d29f9c819b2640e90a176ad13.zip
tcl-c031c59ec3e4290d29f9c819b2640e90a176ad13.tar.gz
tcl-c031c59ec3e4290d29f9c819b2640e90a176ad13.tar.bz2
.... oops ....bug_d3071887dbc7aeac
-rw-r--r--unix/tclUnixNotfy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/tclUnixNotfy.c b/unix/tclUnixNotfy.c
index 3946c7d..1457890 100644
--- a/unix/tclUnixNotfy.c
+++ b/unix/tclUnixNotfy.c
@@ -437,7 +437,7 @@ Tcl_FinalizeNotifier(
while(triggerPipe != -1) {
pthread_cond_wait(&notifierCV, &notifierMutex);
}
- pthread_mutex_lock(&notifierMutex);
+ pthread_mutex_unlock(&notifierMutex);
if (notifierThreadRunning) {
int result = pthread_join((pthread_t) notifierThread, NULL);