diff options
author | Joe Mistachkin <joe@mistachkin.com> | 2015-06-17 20:32:01 (GMT) |
---|---|---|
committer | Joe Mistachkin <joe@mistachkin.com> | 2015-06-17 20:32:01 (GMT) |
commit | 7ba021af61fdd62da199c90339ad90e4a1781804 (patch) | |
tree | 8dff88386e0c9be0fc341ba01a9c07d232f9617e /generic | |
parent | d4bb7bdf65e391348d97f1464a3700c839693e39 (diff) | |
download | tcl-7ba021af61fdd62da199c90339ad90e4a1781804.zip tcl-7ba021af61fdd62da199c90339ad90e4a1781804.tar.gz tcl-7ba021af61fdd62da199c90339ad90e4a1781804.tar.bz2 |
Rename the new API to TclMutexUnlockAndFinalize as it is not platform-specific.
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tclInt.h | 2 | ||||
-rw-r--r-- | generic/tclThread.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclInt.h b/generic/tclInt.h index 5a8c9ca..5527773 100644 --- a/generic/tclInt.h +++ b/generic/tclInt.h @@ -3061,7 +3061,7 @@ MODULE_SCOPE void TclpMasterLock(void); MODULE_SCOPE void TclpMasterUnlock(void); MODULE_SCOPE void TclpMutexLock(void); MODULE_SCOPE void TclpMutexUnlock(void); -MODULE_SCOPE void TclpMutexUnlockAndFinalize(Tcl_Mutex *mutex); +MODULE_SCOPE void TclMutexUnlockAndFinalize(Tcl_Mutex *mutex); MODULE_SCOPE int TclpMatchFiles(Tcl_Interp *interp, char *separators, Tcl_DString *dirPtr, char *pattern, char *tail); MODULE_SCOPE int TclpObjNormalizePath(Tcl_Interp *interp, diff --git a/generic/tclThread.c b/generic/tclThread.c index 065df0e..c2112b7 100644 --- a/generic/tclThread.c +++ b/generic/tclThread.c @@ -284,7 +284,7 @@ Tcl_MutexFinalize( /* *---------------------------------------------------------------------- * - * TclpMutexUnlockAndFinalize -- + * TclMutexUnlockAndFinalize -- * * This procedure is invoked to unlock and then finalize a mutex. * The mutex must have been locked by Tcl_MutexLock. It is also @@ -301,7 +301,7 @@ Tcl_MutexFinalize( */ void -TclpMutexUnlockAndFinalize( +TclMutexUnlockAndFinalize( Tcl_Mutex *mutexPtr) { Tcl_Mutex mutex; |