Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 Mar 2012 23:17:25 -0800
From:      Julian Elischer <julian@freebsd.org>
To:        Bruce Evans <brde@optusnet.com.au>
Cc:        svn-src-head@freebsd.org, Tijl Coosemans <tijl@freebsd.org>, src-committers@freebsd.org, svn-src-all@freebsd.org
Subject:   Re: svn commit: r232261 - in head/sys: amd64/include i386/include pc98/include x86/include
Message-ID:  <4F507405.5030901@freebsd.org>
In-Reply-To: <20120302151400.Y1224@besplex.bde.org>
References:  <201202281815.q1SIFSbB082030@svn.freebsd.org> <20120229071721.G989@besplex.bde.org> <201203012346.00228.tijl@freebsd.org> <20120302151400.Y1224@besplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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..






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F507405.5030901>