diff options
author | hobbs <hobbs> | 2000-04-24 23:32:13 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2000-04-24 23:32:13 (GMT) |
commit | e38c8fdd49d388071ea563f8a0a8fada898eefd9 (patch) | |
tree | 50b19f689249d3877bc99eca02c7d44395247a21 /unix/tclUnixThrd.c | |
parent | f01e61ac300d8ce4e10dc60e0510a2409a969bf6 (diff) | |
download | tcl-e38c8fdd49d388071ea563f8a0a8fada898eefd9.zip tcl-e38c8fdd49d388071ea563f8a0a8fada898eefd9.tar.gz tcl-e38c8fdd49d388071ea563f8a0a8fada898eefd9.tar.bz2 |
* unix/tclUnixNotfy.c (Tcl_FinalizeNotifier, NotifierThreadProc):
added write of 'q' into triggerPipe for notifier in threaded case,
so that Tcl doesn't hang when children are still running [Bug: 4139]
* unix/tclUnixThrd.c (Tcl_MutexLock): minor comment fixes.
Diffstat (limited to 'unix/tclUnixThrd.c')
-rw-r--r-- | unix/tclUnixThrd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tclUnixThrd.c b/unix/tclUnixThrd.c index f4a5dca..16e2315 100644 --- a/unix/tclUnixThrd.c +++ b/unix/tclUnixThrd.c @@ -356,7 +356,7 @@ Tcl_MutexLock(mutexPtr) MASTER_LOCK; if (*mutexPtr == NULL) { /* - * Double inside master lock check to avoid a race. + * Double inside master lock check to avoid a race condition. */ pmutexPtr = (pthread_mutex_t *)ckalloc(sizeof(pthread_mutex_t)); @@ -374,7 +374,7 @@ Tcl_MutexLock(mutexPtr) /* *---------------------------------------------------------------------- * - * TclpMutexUnlock -- + * Tcl_MutexUnlock -- * * This procedure is invoked to unlock a mutex. The mutex must * have been locked by Tcl_MutexLock. |