From ec8290acdaea21b16d98f1ef5d4ae8a28ab2109a Mon Sep 17 00:00:00 2001 From: rpj Date: Wed, 3 Nov 2004 01:08:41 +0000 Subject: Mutex, semaphore, thread ID, test suite changes - see ChangeLogs --- tests/condvar6.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/condvar6.c') diff --git a/tests/condvar6.c b/tests/condvar6.c index d642f9c..0cf92a4 100644 --- a/tests/condvar6.c +++ b/tests/condvar6.c @@ -149,7 +149,7 @@ main() cvthing.shared = 0; - assert((t[0] = pthread_self()) != NULL); + assert((t[0] = pthread_self()).p != NULL); assert(cvthing.notbusy == PTHREAD_COND_INITIALIZER); @@ -164,7 +164,7 @@ main() abstime.tv_sec += 5; - assert((t[0] = pthread_self()) != NULL); + assert((t[0] = pthread_self()).p != NULL); awoken = 0; -- cgit v1.2.3