diff options
author | rpj <rpj> | 2005-03-08 07:36:56 +0000 |
---|---|---|
committer | rpj <rpj> | 2005-03-08 07:36:56 +0000 |
commit | d5c78e3656cbc7410f333bfa80e2929947e6d0e5 (patch) | |
tree | 9d47c7f9dc5022564a7c34ec1db8cca4e4d6d802 /ptw32_processTerminate.c | |
parent | 6df0e45cf47b5eaee00f21a5862e8f0c5107a4e2 (diff) |
compiler compatibility and bug fixes
Diffstat (limited to 'ptw32_processTerminate.c')
-rw-r--r-- | ptw32_processTerminate.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ptw32_processTerminate.c b/ptw32_processTerminate.c index 51293a9..bd1ee7a 100644 --- a/ptw32_processTerminate.c +++ b/ptw32_processTerminate.c @@ -99,8 +99,10 @@ ptw32_processTerminate (void) LeaveCriticalSection (&ptw32_thread_reuse_lock); /* - * Destroy the global locks. + * Destroy the global locks and other objects. */ + (void) pthread_cond_destroy(&ptw32_once_control.cond); + (void) pthread_mutex_destroy(&ptw32_once_control.mtx); DeleteCriticalSection (&ptw32_spinlock_test_init_lock); DeleteCriticalSection (&ptw32_rwlock_test_init_lock); DeleteCriticalSection (&ptw32_cond_test_init_lock); |