From 62bb46cb777865b566d4f06bec15cb4b69b936e8 Mon Sep 17 00:00:00 2001 From: kupries Date: Tue, 9 May 2000 19:13:55 +0000 Subject: 2000-05-09 Andreas Kupries operating as proxy for David Gravereaux * win/tclWinThrd.c (TclpInitLock, TclpMasterLock): Added missing initialization of joinLock. --- ChangeLog | 6 ++++++ win/tclWinThrd.c | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 4bccce3..eac9476 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2000-05-09 Andreas Kupries + operating as proxy for David Gravereaux + + * win/tclWinThrd.c (TclpInitLock, TclpMasterLock): Added missing + initialization of joinLock. + 2000-05-08 Jeff Hobbs * 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); } -- cgit v0.12