summaryrefslogtreecommitdiffstats
path: root/unix
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)
commitfdcc17288c87da3542dba646f601b61b05b7d611 (patch)
treeffae5343039a0902be4686d58f64d2b828910189 /unix
parentcfe1b9b146cc9f83e74a5a3adef077a8fa815056 (diff)
downloadtcl-fdcc17288c87da3542dba646f601b61b05b7d611.zip
tcl-fdcc17288c87da3542dba646f601b61b05b7d611.tar.gz
tcl-fdcc17288c87da3542dba646f601b61b05b7d611.tar.bz2
.... oops ....
Diffstat (limited to 'unix')
-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);