diff options
Diffstat (limited to 'private.c')
-rw-r--r-- | private.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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; } |