This is the mail archive of the pthreads-win32@sourceware.org mailing list for the pthreas-win32 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]