summaryrefslogtreecommitdiffstats
path: root/generic/tclEvent.c
diff options
context:
space:
mode:
authordavygrvy <davygrvy@noemail.net>2001-08-30 07:50:17 (GMT)
committerdavygrvy <davygrvy@noemail.net>2001-08-30 07:50:17 (GMT)
commit8c1f0ff2e57236026bea55bf62d267473cefd62e (patch)
tree7d838c15cd14b38785a1fab0ded168b19b1f0e95 /generic/tclEvent.c
parentaecb99781b3e9c4bd8cdf63f26a8b583e5fcab9c (diff)
downloadtcl-8c1f0ff2e57236026bea55bf62d267473cefd62e.zip
tcl-8c1f0ff2e57236026bea55bf62d267473cefd62e.tar.gz
tcl-8c1f0ff2e57236026bea55bf62d267473cefd62e.tar.bz2
* generic/tclAsync.c:
* generic/tclEvent.c: * generic/tclInt.h: Improper cleanup of asyncMutex in tclAsync.c repaired. TclFinalizeSynchronization() was trying to remove a registered mutex that was dumped earlier when the TSD it was stored in was cleared. This was only surfacing on *nix. Windows was being masked by mutexes not actually being returned to the system! That was repaired in a previous patch. Needed to add a private TclFinalizeAsync() to tclAsync.c and called from Tcl_FinalizeThread(). Pheww.. Is this done yet? [Bug: 414419] requested by Rob Ratcliff <rrr6399@futuretek.com> FossilOrigin-Name: 45694540cac7b1c3c2e9703d681cea74f0dc754e
Diffstat (limited to 'generic/tclEvent.c')
-rw-r--r--generic/tclEvent.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/tclEvent.c b/generic/tclEvent.c
index 4aae424..4d2337e 100644
--- a/generic/tclEvent.c
+++ b/generic/tclEvent.c
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclEvent.c,v 1.11 2001/03/31 07:57:31 hobbs Exp $
+ * RCS: @(#) $Id: tclEvent.c,v 1.12 2001/08/30 07:50:18 davygrvy Exp $
*/
#include "tclInt.h"
@@ -907,6 +907,7 @@ Tcl_FinalizeThread()
}
TclFinalizeIOSubsystem();
TclFinalizeNotifier();
+ TclFinalizeAsync();
/*
* Blow away all thread local storage blocks.