summaryrefslogtreecommitdiff
path: root/ptw32_processInitialize.c
diff options
context:
space:
mode:
authorrpj <rpj>2003-08-14 08:53:17 +0000
committerrpj <rpj>2003-08-14 08:53:17 +0000
commita50745ec922a917513029f3f87bf820827b43f29 (patch)
tree1e221862e0550d163baef12d17634430ae677824 /ptw32_processInitialize.c
parent414f4bd7e70d94025576d9264c86da63c506f6ca (diff)
Reuse of thread IDs, improved thread ID validation, new tests, bug fixes.
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);