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 | 2785816f6adac764ff1a93a100bc8cae1464227f (patch) | |
tree | 8dff88386e0c9be0fc341ba01a9c07d232f9617e | |
parent | 61235a19fdbc4ccea9e122d0be34888ab92fc798 (diff) | |
download | tcl-2785816f6adac764ff1a93a100bc8cae1464227f.zip tcl-2785816f6adac764ff1a93a100bc8cae1464227f.tar.gz tcl-2785816f6adac764ff1a93a100bc8cae1464227f.tar.bz2 |
Rename the new API to TclMutexUnlockAndFinalize as it is not platform-specific.
-rw-r--r-- | generic/tclInt.h | 2 | ||||
-rw-r--r-- | generic/tclThread.c | 4 | ||||
-rw-r--r-- | unix/tclUnixNotfy.c | 2 |
3 files changed, 4 insertions, 4 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; diff --git a/unix/tclUnixNotfy.c b/unix/tclUnixNotfy.c index a009fb1..17fdc95 100644 --- a/unix/tclUnixNotfy.c +++ b/unix/tclUnixNotfy.c @@ -1384,7 +1384,7 @@ AtForkChild(void) { TclpMutexUnlock(); TclpMasterUnlock(); - TclpMutexUnlockAndFinalize(¬ifierMutex); + TclMutexUnlockAndFinalize(¬ifierMutex); Tcl_InitNotifier(); } #endif /* HAVE_PTHREAD_ATFORK */ |