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)
commitd4bb7bdf65e391348d97f1464a3700c839693e39 (patch)
treef9ed27e54ccf335ed3a7b3975210030637754b77 /generic/tclThread.c
parent5c4acfb73ff5ff83d7973ef9964c23013f00800c (diff)
downloadtcl-d4bb7bdf65e391348d97f1464a3700c839693e39.zip
tcl-d4bb7bdf65e391348d97f1464a3700c839693e39.tar.gz
tcl-d4bb7bdf65e391348d97f1464a3700c839693e39.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;