summaryrefslogtreecommitdiff
path: root/private.c
diff options
context:
space:
mode:
Diffstat (limited to 'private.c')
-rw-r--r--private.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/private.c b/private.c
index 88a71ee..56062a1 100644
--- a/private.c
+++ b/private.c
@@ -56,9 +56,10 @@ _pthread_processInitialize (void)
}
/*
- * Set up the global mutex test and init check lock.
+ * Set up the global test and init check locks.
*/
InitializeCriticalSection(&_pthread_mutex_test_init_lock);
+ InitializeCriticalSection(&_pthread_cond_test_init_lock);
return (_pthread_processInitialized);
@@ -111,9 +112,10 @@ _pthread_processTerminate (void)
}
/*
- * Destroy up the global mutex test and init check lock.
+ * Destroy the global test and init check locks.
*/
DeleteCriticalSection(&_pthread_mutex_test_init_lock);
+ DeleteCriticalSection(&_pthread_cond_test_init_lock);
_pthread_processInitialized = FALSE;
}