summaryrefslogtreecommitdiff
path: root/ptw32_processTerminate.c
diff options
context:
space:
mode:
authorrpj <rpj>2005-03-12 23:00:53 +0000
committerrpj <rpj>2005-03-12 23:00:53 +0000
commit47d030b0ab9adf502451ef1558eeca50e67063c0 (patch)
tree2754c946c36b276241e44208ad6d7f5c6cd45bce /ptw32_processTerminate.c
parent4ec6a9e7044d8c853d1cd734facb21316f850106 (diff)
New design for pthread_once (with cancelability); ABI change
Diffstat (limited to 'ptw32_processTerminate.c')
-rw-r--r--ptw32_processTerminate.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ptw32_processTerminate.c b/ptw32_processTerminate.c
index bd1ee7a..f80b99b 100644
--- a/ptw32_processTerminate.c
+++ b/ptw32_processTerminate.c
@@ -101,8 +101,7 @@ ptw32_processTerminate (void)
/*
* 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_once_event_lock);
DeleteCriticalSection (&ptw32_spinlock_test_init_lock);
DeleteCriticalSection (&ptw32_rwlock_test_init_lock);
DeleteCriticalSection (&ptw32_cond_test_init_lock);