diff options
author | rpj <rpj> | 2001-02-13 07:56:26 +0000 |
---|---|---|
committer | rpj <rpj> | 2001-02-13 07:56:26 +0000 |
commit | 4b26627e3f31905f0f739d57947d49995aa81913 (patch) | |
tree | d336baa9ce2b1fa7862e81beaf16626be4c2a1af /misc.c | |
parent | 3208cee87389dbe7479e44208f8c0a4f8725fae8 (diff) |
Change the thread cancel lock to be a critical section
instead of a pthread_mutex_t.
Diffstat (limited to 'misc.c')
-rw-r--r-- | misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -390,7 +390,7 @@ ptw32_new (void) t->detachState = PTHREAD_CREATE_JOINABLE; t->cancelState = PTHREAD_CANCEL_ENABLE; t->cancelType = PTHREAD_CANCEL_DEFERRED; - t->cancelLock = PTHREAD_MUTEX_INITIALIZER; + InitializeCriticalSection(t->cancelLock); } return t; |