* thread.cc (__pthread_equal): Invert return value so that true is returned

when threads are equal.
This commit is contained in:
Christopher Faylor 2001-07-26 20:47:05 +00:00
parent 351a85482c
commit f9f2c11985
2 changed files with 227 additions and 223 deletions

View File

@ -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>

View File

@ -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 */