On 3/1/12 9:10 PM, Bruce Evans wrote:
Grepping for clock_t shows some nice bugs in pthread_condattr(3). It declares some parameters as "clock_t * restrict clock_id" and "clock_t clock_id". This is nonsense, since clock ids aren't clock ticks. POSIX specifies correct declarations "clockid_t * restrict clock_id" and "clockid_t clock_id". <sys/pthread.h> matches POSIX except it doesn't say "restrict". The man page is missing pthread_getcpuclockid() but has the other 2 (with type errors).
send patches to David Xu.. _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"