diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-07-20 14:58:02 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-07-20 14:58:02 (GMT) |
commit | d08036b2e47607ee20e265e02bb8195fad62d300 (patch) | |
tree | ac82c80bf6115013e91ea42c6139d2a7b5dcee2f /generic/tclThread.c | |
parent | a2e85619729a07c0c6ec97ea0b67286e02337e09 (diff) | |
parent | 99d517e3cba02eeef2d49f6447db7dce60c611f6 (diff) | |
download | tcl-d08036b2e47607ee20e265e02bb8195fad62d300.zip tcl-d08036b2e47607ee20e265e02bb8195fad62d300.tar.gz tcl-d08036b2e47607ee20e265e02bb8195fad62d300.tar.bz2 |
Merge 8.6
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 f22653a..76aaf4b 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 */ } |