summaryrefslogtreecommitdiffstats
path: root/generic/tclThread.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2015-06-16 15:24:51 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2015-06-16 15:24:51 (GMT)
commit61235a19fdbc4ccea9e122d0be34888ab92fc798 (patch)
treef9ed27e54ccf335ed3a7b3975210030637754b77 /generic/tclThread.c
parentbd5043a0eea076716ef8b53a0985464965165bd9 (diff)
downloadtcl-61235a19fdbc4ccea9e122d0be34888ab92fc798.zip
tcl-61235a19fdbc4ccea9e122d0be34888ab92fc798.tar.gz
tcl-61235a19fdbc4ccea9e122d0be34888ab92fc798.tar.bz2
Change Tcl_MutexUnlockAndFinalize() to internal function TclpMutexUnlockAndFinalize(). This does not require a TIP, and still should fix the reported bug.
Diffstat (limited to 'generic/tclThread.c')
-rw-r--r--generic/tclThread.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/generic/tclThread.c b/generic/tclThread.c
index b46ddf5..065df0e 100644
--- a/generic/tclThread.c
+++ b/generic/tclThread.c
@@ -50,7 +50,6 @@ static void RememberSyncObject(void *objPtr,
#undef Tcl_MutexLock
#undef Tcl_MutexUnlock
#undef Tcl_MutexFinalize
-#undef Tcl_MutexUnlockAndFinalize
#undef Tcl_ConditionNotify
#undef Tcl_ConditionWait
#undef Tcl_ConditionFinalize
@@ -285,7 +284,7 @@ Tcl_MutexFinalize(
/*
*----------------------------------------------------------------------
*
- * Tcl_MutexUnlockAndFinalize --
+ * TclpMutexUnlockAndFinalize --
*
* This procedure is invoked to unlock and then finalize a mutex.
* The mutex must have been locked by Tcl_MutexLock. It is also
@@ -302,7 +301,7 @@ Tcl_MutexFinalize(
*/
void
-Tcl_MutexUnlockAndFinalize(
+TclpMutexUnlockAndFinalize(
Tcl_Mutex *mutexPtr)
{
Tcl_Mutex mutex;