diff options
author | rpj <rpj> | 2001-02-07 08:45:46 +0000 |
---|---|---|
committer | rpj <rpj> | 2001-02-07 08:45:46 +0000 |
commit | 7a31ef49c345dfb39de7cd6d43eeb29c34129495 (patch) | |
tree | 9515903248d26f12144a0e6161f7b1f6fd726978 /mutex.c | |
parent | 2f4a1905d1a8c424900a8615ec730f7637482525 (diff) |
Updates and minor corrections and changes.
Diffstat (limited to 'mutex.c')
-rw-r--r-- | mutex.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -732,7 +732,7 @@ pthread_mutexattr_settype (pthread_mutexattr_t * attr, * return with an error. * * PTHREAD_MUTEX_DEFAULT - * Same as PTHREAD_MUTEX_ERRORCHECK. + * Same as PTHREAD_MUTEX_RECURSIVE. * * PTHREAD_MUTEX_RECURSIVE * A thread attempting to relock this mutex without @@ -851,7 +851,6 @@ pthread_mutex_lock(pthread_mutex_t *mutex) ptw32_EnterCriticalSection(&mx->cs); } break; - case PTHREAD_MUTEX_DEFAULT: case PTHREAD_MUTEX_ERRORCHECK: if (pthread_equal(mx->ownerThread, self)) { @@ -862,6 +861,7 @@ pthread_mutex_lock(pthread_mutex_t *mutex) ptw32_EnterCriticalSection(&mx->cs); } break; + case PTHREAD_MUTEX_DEFAULT: case PTHREAD_MUTEX_RECURSIVE: ptw32_EnterCriticalSection(&mx->cs); break; |