summaryrefslogtreecommitdiff
path: root/pthread_equal.c
diff options
context:
space:
mode:
authorrpj <rpj>2004-11-03 01:08:41 +0000
committerrpj <rpj>2004-11-03 01:08:41 +0000
commitec8290acdaea21b16d98f1ef5d4ae8a28ab2109a (patch)
tree0bd3750ec1cc12594b6cfe69473e393da6ec101b /pthread_equal.c
parentcccaf0c2c82e78a72d69a4a50c872f308bed2f65 (diff)
Mutex, semaphore, thread ID, test suite changes - see ChangeLogs
Diffstat (limited to 'pthread_equal.c')
-rw-r--r--pthread_equal.c2
1 files changed, 1 insertions, 1 deletions
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);