summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorlfb <lfb>1998-12-13 09:54:43 (GMT)
committerlfb <lfb>1998-12-13 09:54:43 (GMT)
commit1b6aa4a2fd7521a6e0249fcab56940aeee597c14 (patch)
treeb513ba2a8adf5b45c4a93c2dad501e1799731d27 /generic
parent6a11e0ffdf0b7a302f94f3b38b1f9e751dc8ab8b (diff)
downloadtk-1b6aa4a2fd7521a6e0249fcab56940aeee597c14.zip
tk-1b6aa4a2fd7521a6e0249fcab56940aeee597c14.tar.gz
tk-1b6aa4a2fd7521a6e0249fcab56940aeee597c14.tar.bz2
Fixed Windows bugs encountered while building w/ threads enabled.
Diffstat (limited to 'generic')
-rw-r--r--generic/tkBind.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/generic/tkBind.c b/generic/tkBind.c
index 0e9c1b8..c407d38 100644
--- a/generic/tkBind.c
+++ b/generic/tkBind.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: tkBind.c,v 1.1.4.5 1998/12/13 08:16:00 lfb Exp $
+ * RCS: @(#) $Id: tkBind.c,v 1.1.4.6 1998/12/13 09:54:43 lfb Exp $
*/
#include "tkPort.h"
@@ -728,7 +728,7 @@ TkBindInit(mainPtr)
*/
if (!initialized) {
- Tcl_MutexLock(bindMutex);
+ Tcl_MutexLock(&bindMutex);
if (!initialized) {
Tcl_HashEntry *hPtr;
ModInfo *modPtr;
@@ -762,6 +762,7 @@ TkBindInit(mainPtr)
}
initialized = 1;
}
+ Tcl_MutexUnlock(&bindMutex);
}
mainPtr->bindingTable = Tk_CreateBindingTable(mainPtr->interp);