summaryrefslogtreecommitdiff
path: root/ptw32_processInitialize.c
diff options
context:
space:
mode:
Diffstat (limited to 'ptw32_processInitialize.c')
-rw-r--r--ptw32_processInitialize.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ptw32_processInitialize.c b/ptw32_processInitialize.c
index 7c1818a..e402d72 100644
--- a/ptw32_processInitialize.c
+++ b/ptw32_processInitialize.c
@@ -89,6 +89,7 @@ ptw32_processInitialize (void)
/*
* Set up the global locks.
*/
+ InitializeCriticalSection(&ptw32_thread_reuse_lock);
InitializeCriticalSection(&ptw32_mutex_test_init_lock);
InitializeCriticalSection(&ptw32_cond_list_lock);
InitializeCriticalSection(&ptw32_cond_test_init_lock);