* thread.cc (__pthread_equal): Invert return value so that true is returned
when threads are equal.
This commit is contained in:
parent
351a85482c
commit
f9f2c11985
|
@ -1,3 +1,8 @@
|
|||
Thu Jul 26 16:43:39 2001 Pieter de Visser <pieterdv@knoware.nl>
|
||||
|
||||
* thread.cc (__pthread_equal): Invert return value so that true is
|
||||
returned when threads are equal.
|
||||
|
||||
Thu Jul 26 15:50:38 2001 Charles Wilson <cwilson@ece.gatech.edu>
|
||||
Christopher Faylor <cgf@cygnus.com>
|
||||
|
||||
|
|
|
@ -22,7 +22,6 @@ details. */
|
|||
proper operation.
|
||||
|
||||
R.Collins, April 2001.
|
||||
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
|
@ -1830,7 +1829,7 @@ __pthread_self ()
|
|||
int
|
||||
__pthread_equal (pthread_t *t1, pthread_t *t2)
|
||||
{
|
||||
return (*t1 - *t2);
|
||||
return (*t1 == *t2);
|
||||
}
|
||||
|
||||
/*Mutexes */
|
||||
|
|
Loading…
Reference in New Issue