Confused/incorrect comments in pthread_equal()
Mark Pizzolato - pthreads - win32
MarkPizzolato-pthreads-win32@subscriptions.pizzolato.net
Wed Feb 9 15:03:00 GMT 2011
The comments at the beginning of pthread_equal say:
* DOCPUBLIC
* This function returns nonzero if t1 and t2 are equal, else
* returns nonzero
Reasonable readers would be confused by the claim that both returns are
nonzero.
It probably should say:
* DOCPUBLIC
* This function returns nonzero if t1 and t2 are equal, else
* returns zero
More information about the Pthreads-win32
mailing list