diff options
| author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-07-21 07:54:20 (GMT) |
|---|---|---|
| committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-07-21 07:54:20 (GMT) |
| commit | f9c196e0e6adbda2599846b1c4ebef570164d745 (patch) | |
| tree | 6dde502c97dac0302134b2e4c0ed785017a384ac /generic/tclThread.c | |
| parent | a13bb8b0ca65832a5ec1d64055a09f3dec4af876 (diff) | |
| parent | d08036b2e47607ee20e265e02bb8195fad62d300 (diff) | |
| download | tcl-f9c196e0e6adbda2599846b1c4ebef570164d745.zip tcl-f9c196e0e6adbda2599846b1c4ebef570164d745.tar.gz tcl-f9c196e0e6adbda2599846b1c4ebef570164d745.tar.bz2 | |
Merge 8.7
Diffstat (limited to 'generic/tclThread.c')
| -rw-r--r-- | generic/tclThread.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/generic/tclThread.c b/generic/tclThread.c index 7172502..c5ed9e3 100644 --- a/generic/tclThread.c +++ b/generic/tclThread.c @@ -126,7 +126,7 @@ TclThreadDataKeyGet( * Keep a list of (mutexes/condition variable/data key) used during * finalization. * - * Assume master lock is held. + * Assume global lock is held. * * Results: * None. @@ -187,7 +187,7 @@ RememberSyncObject( * ForgetSyncObject * * Remove a single object from the list. - * Assume master lock is held. + * Assume global lock is held. * * Results: * None. @@ -219,7 +219,7 @@ ForgetSyncObject( * TclRememberMutex * * Keep a list of mutexes used during finalization. - * Assume master lock is held. + * Assume global lock is held. * * Results: * None. @@ -262,9 +262,9 @@ Tcl_MutexFinalize( #if TCL_THREADS TclpFinalizeMutex(mutexPtr); #endif - TclpMasterLock(); + TclpGlobalLock(); ForgetSyncObject(mutexPtr, &mutexRecord); - TclpMasterUnlock(); + TclpGlobalUnlock(); } /* @@ -273,7 +273,7 @@ Tcl_MutexFinalize( * TclRememberCondition * * Keep a list of condition variables used during finalization. - * Assume master lock is held. + * Assume global lock is held. * * Results: * None. @@ -316,9 +316,9 @@ Tcl_ConditionFinalize( #if TCL_THREADS TclpFinalizeCondition(condPtr); #endif - TclpMasterLock(); + TclpGlobalLock(); ForgetSyncObject(condPtr, &condRecord); - TclpMasterUnlock(); + TclpGlobalUnlock(); } /* @@ -382,7 +382,7 @@ TclFinalizeSynchronization(void) Tcl_Mutex *mutexPtr; Tcl_Condition *condPtr; - TclpMasterLock(); + TclpGlobalLock(); #endif /* @@ -404,7 +404,7 @@ TclFinalizeSynchronization(void) #if TCL_THREADS /* - * Call thread storage master cleanup. + * Call thread storage global cleanup. */ TclFinalizeThreadStorage(); @@ -435,7 +435,7 @@ TclFinalizeSynchronization(void) condRecord.max = 0; condRecord.num = 0; - TclpMasterUnlock(); + TclpGlobalUnlock(); #endif /* TCL_THREADS */ } |
