summaryrefslogtreecommitdiffstats
path: root/generic/tcl.h
diff options
context:
space:
mode:
authorJoe Mistachkin <joe@mistachkin.com>2015-04-09 19:53:39 (GMT)
committerJoe Mistachkin <joe@mistachkin.com>2015-04-09 19:53:39 (GMT)
commit8dd7c4f2d2a3ac59420c49cb816bf5eb237ea119 (patch)
tree64f6b3b62d1a2d29c62c2e5174d8710e379e4177 /generic/tcl.h
parent651d304f426a8ed04bc3e743e922ff46ad5b9aa1 (diff)
downloadtcl-8dd7c4f2d2a3ac59420c49cb816bf5eb237ea119.zip
tcl-8dd7c4f2d2a3ac59420c49cb816bf5eb237ea119.tar.gz
tcl-8dd7c4f2d2a3ac59420c49cb816bf5eb237ea119.tar.bz2
Add new public Tcl C API to allow a mutex to be unlocked and then finalized atomically. Candidate fix for bug [57945b574a].
Diffstat (limited to 'generic/tcl.h')
-rw-r--r--generic/tcl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/generic/tcl.h b/generic/tcl.h
index 297b42c..80f924a 100644
--- a/generic/tcl.h
+++ b/generic/tcl.h
@@ -2592,6 +2592,8 @@ EXTERN void Tcl_GetMemoryInfo(Tcl_DString *dsPtr);
#define Tcl_MutexLock(mutexPtr)
#undef Tcl_MutexUnlock
#define Tcl_MutexUnlock(mutexPtr)
+#undef Tcl_MutexUnlockAndFinalize
+#define Tcl_MutexUnlockAndFinalize(mutexPtr)
#undef Tcl_MutexFinalize
#define Tcl_MutexFinalize(mutexPtr)
#undef Tcl_ConditionNotify