svn commit: r232261 - in head/sys: amd64/include i386/include pc98/include x86/include

Julian Elischer julian at freebsd.org
Fri Mar 2 07:17:22 UTC 2012


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





More information about the svn-src-all mailing list