diff options
Diffstat (limited to 'tests/condvar8.c')
-rw-r--r-- | tests/condvar8.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/condvar8.c b/tests/condvar8.c index d1076e3..9e63b79 100644 --- a/tests/condvar8.c +++ b/tests/condvar8.c @@ -99,7 +99,7 @@ mythread(void * arg) */ pthread_cleanup_push(pthread_mutex_unlock, (void *) &cvthing.lock); - while (! cvthing.shared > 0) + while (! (cvthing.shared > 0)) assert(pthread_cond_timedwait(&cvthing.notbusy, &cvthing.lock, &abstime) == 0); pthread_cleanup_pop(0); |