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/cancel8.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/cancel8.c') diff --git a/tests/cancel8.c b/tests/cancel8.c index 484472e..1a99640 100644 --- a/tests/cancel8.c +++ b/tests/cancel8.c @@ -111,7 +111,7 @@ Win32thread(void * arg) assert(bag->started == 0); bag->started = 1; - assert((bag->self = pthread_self()) != NULL); + assert((bag->self = pthread_self()).p != NULL); assert(pthread_kill(bag->self, 0) == 0); assert(pthread_mutex_lock(&CVLock) == 0); @@ -192,7 +192,7 @@ main() result = (int) PTHREAD_CANCELED; #endif - assert(threadbag[i].self != NULL); + assert(threadbag[i].self.p != NULL); assert(pthread_kill(threadbag[i].self, 0) == ESRCH); fail = (result != (int) PTHREAD_CANCELED); -- cgit v1.2.3