This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
Re: [PATCH] pthread.h: include <time.h>
- From: Christopher Faylor <cgf-use-the-mailinglist-please at cygwin dot com>
- To: cygwin-patches at cygwin dot com
- Date: Sun, 12 Feb 2012 17:28:14 -0500
- Subject: Re: [PATCH] pthread.h: include <time.h>
- References: <1329084242.7872.10.camel@YAAKOV04>
- Reply-to: cygwin-patches at cygwin dot com
On Sun, Feb 12, 2012 at 04:04:02PM -0600, Yaakov (Cygwin/X) wrote:
>POSIX states:
>> Inclusion of the <pthread.h> header shall make symbols defined in the
>> headers <sched.h> and <time.h> visible.
>
>The reason being that some pthread functions take a clockid_t argument,
>and the CLOCK_* symbolic names are therein defined.
>
>Patch attached.
Looks good. Please check in.
Thanks.
cgf