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 --- pthread_equal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pthread_equal.c') diff --git a/pthread_equal.c b/pthread_equal.c index f7965e4..377316b 100644 --- a/pthread_equal.c +++ b/pthread_equal.c @@ -69,7 +69,7 @@ pthread_equal (pthread_t t1, pthread_t t2) * We also accept NULL == NULL - treating NULL as a thread * for this special case, because there is no error that we can return. */ - result = ( t1 == t2 ); + result = ( t1.p == t2.p && t1.x == t2.x ); return (result); -- cgit v1.2.3