diff options
author | rpj <rpj> | 2004-06-22 06:12:54 +0000 |
---|---|---|
committer | rpj <rpj> | 2004-06-22 06:12:54 +0000 |
commit | cf236808ad018ce10123321fab0917550e181aa2 (patch) | |
tree | ea0b63b989688fb6205675424a7d1626166a3c35 /pthread_mutex_timedlock.c | |
parent | d5c1ab47d8cb1e11feae5719e44972015e284516 (diff) |
Add PTHREAD_{RECURSIVE,ERRORCHECK}_MUTEX_INITIALIZER{,_NP}snap-2004-06-22
Diffstat (limited to 'pthread_mutex_timedlock.c')
-rw-r--r-- | pthread_mutex_timedlock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pthread_mutex_timedlock.c b/pthread_mutex_timedlock.c index 1abc391..a5d6b59 100644 --- a/pthread_mutex_timedlock.c +++ b/pthread_mutex_timedlock.c @@ -225,7 +225,7 @@ pthread_mutex_timedlock (pthread_mutex_t * mutex, * again inside the guarded section of ptw32_mutex_check_need_init() * to avoid race conditions. */ - if (*mutex == PTHREAD_MUTEX_INITIALIZER) + if (*mutex >= PTHREAD_ERRORCHECK_MUTEX_INITIALIZER) { if ((result = ptw32_mutex_check_need_init (mutex)) != 0) { |