diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2015-09-02 09:02:53 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2015-09-02 09:02:53 (GMT) |
commit | 4792d8fa003475b958ece0abf90a69cc56b6ff87 (patch) | |
tree | 635acee6a7924d49d3eff0316878fdc95d55a8c7 /unix/tclUnixNotfy.c | |
parent | b13ad887186f6e841d696f4b08dc53f9a2aab8a4 (diff) | |
parent | d9762826b9be695651c7a4657a20246991e39dda (diff) | |
download | tcl-4792d8fa003475b958ece0abf90a69cc56b6ff87.zip tcl-4792d8fa003475b958ece0abf90a69cc56b6ff87.tar.gz tcl-4792d8fa003475b958ece0abf90a69cc56b6ff87.tar.bz2 |
Merge trunk.
Gustaf's latest and greatest fix.
Diffstat (limited to 'unix/tclUnixNotfy.c')
-rw-r--r-- | unix/tclUnixNotfy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tclUnixNotfy.c b/unix/tclUnixNotfy.c index 693eeac..dc6c6fd 100644 --- a/unix/tclUnixNotfy.c +++ b/unix/tclUnixNotfy.c @@ -962,7 +962,7 @@ Tcl_WaitForEvent( } #endif /* __CYGWIN */ - pthread_mutex_lock(¬ifierInitMutex); + pthread_mutex_lock(¬ifierMutex); if (timePtr != NULL && timePtr->sec == 0 && (timePtr->usec == 0 #if defined(__APPLE__) && defined(__LP64__) @@ -1146,7 +1146,7 @@ Tcl_WaitForEvent( filePtr->readyMask = mask; } #ifdef TCL_THREADS - pthread_mutex_unlock(¬ifierInitMutex); + pthread_mutex_unlock(¬ifierMutex); #endif /* TCL_THREADS */ return 0; } |