This is the mail archive of the
pthreads-win32@sourceware.org
mailing list for the pthreas-win32 project.
Confused/incorrect comments in pthread_equal()
- From: "Mark Pizzolato - pthreads - win32" <MarkPizzolato-pthreads-win32 at subscriptions dot pizzolato dot net>
- To: <pthreads-win32 at sourceware dot org>
- Date: Wed, 9 Feb 2011 07:03:39 -0800
- Subject: Confused/incorrect comments in pthread_equal()
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