summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkupries <kupries>2000-05-09 19:13:55 (GMT)
committerkupries <kupries>2000-05-09 19:13:55 (GMT)
commit62bb46cb777865b566d4f06bec15cb4b69b936e8 (patch)
treeddc1d166b3b2adb39d8b427e049318995d49a592
parenta406bb38849430633c8cfb33dceac73e8a7903c4 (diff)
downloadtcl-62bb46cb777865b566d4f06bec15cb4b69b936e8.zip
tcl-62bb46cb777865b566d4f06bec15cb4b69b936e8.tar.gz
tcl-62bb46cb777865b566d4f06bec15cb4b69b936e8.tar.bz2
2000-05-09 Andreas Kupries <a.kupries@westend.com>
operating as proxy for David Gravereaux <davygrvy@pobox.com> * win/tclWinThrd.c (TclpInitLock, TclpMasterLock): Added missing initialization of joinLock.
-rw-r--r--ChangeLog6
-rw-r--r--win/tclWinThrd.c4
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 4bccce3..eac9476 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2000-05-09 Andreas Kupries <a.kupries@westend.com>
+ operating as proxy for David Gravereaux <davygrvy@pobox.com>
+
+ * win/tclWinThrd.c (TclpInitLock, TclpMasterLock): Added missing
+ initialization of joinLock.
+
2000-05-08 Jeff Hobbs <hobbs@scriptics.com>
* doc/expr.n:
diff --git a/win/tclWinThrd.c b/win/tclWinThrd.c
index b3e23fd..5b84cf6 100644
--- a/win/tclWinThrd.c
+++ b/win/tclWinThrd.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclWinThrd.c,v 1.9 2000/05/02 22:02:38 kupries Exp $
+ * RCS: @(#) $Id: tclWinThrd.c,v 1.10 2000/05/09 19:13:55 kupries Exp $
*/
#include "tclWinInt.h"
@@ -260,6 +260,7 @@ TclpInitLock()
* more threads that create interpreters in parallel.
*/
init = 1;
+ InitializeCriticalSection(&joinLock);
InitializeCriticalSection(&initLock);
InitializeCriticalSection(&masterLock);
}
@@ -322,6 +323,7 @@ TclpMasterLock()
* more threads that create interpreters in parallel.
*/
init = 1;
+ InitializeCriticalSection(&joinLock);
InitializeCriticalSection(&initLock);
InitializeCriticalSection(&masterLock);
}