diff options
author | Joe Mistachkin <joe@mistachkin.com> | 2015-04-09 19:53:39 (GMT) |
---|---|---|
committer | Joe Mistachkin <joe@mistachkin.com> | 2015-04-09 19:53:39 (GMT) |
commit | 8dd7c4f2d2a3ac59420c49cb816bf5eb237ea119 (patch) | |
tree | 64f6b3b62d1a2d29c62c2e5174d8710e379e4177 /generic/tcl.h | |
parent | 651d304f426a8ed04bc3e743e922ff46ad5b9aa1 (diff) | |
download | tcl-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.h | 2 |
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 |