Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Sat, 9 Apr 2005 09:59:34 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Incomplete POSIX_TIMERS support?
Message-ID: <20050409075934.GR1471@cygbert.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <4256EA53.1010507@exmsft.com> <20050408203715.GA16642@trixie.casa.cgf.cx> <42578A2E.7060102@exmsft.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <42578A2E.7060102@exmsft.com>
User-Agent: Mutt/1.4.2i

On Apr  9 09:54, Keith Moore wrote:
> Christopher Faylor wrote:
> 
> > On Fri, Apr 08, 2005 at 10:32:19PM +0200, Keith Moore wrote:
> > 
> >>/usr/include/sys/features.h defines _POSIX_TIMERS, presumably to
> >>indicate that POSIX timers are supported. There seems to be something
> >>missing, though.
> >>
> >>Under the influence of _POSIX_TIMERS, /usr/include/time.h defines
> >>function prototypes for clock_gettime() and clock_getres() (and a few
> >>others). clock_gettime() gets linked-in from libc.a, but I cannot find a
> >>library for clock_getres().
> >>
> >>This is causing problems for the CVS version of wget, which assumes
> >>_POSIX_TIMERS means all of the POSIX timer APIs are supported.
> >>
> >>Am I missing something here? Is there a clock_getres() somewhere?
> > 
> > 
> > No, there isn't.  Sorry.
> 
> Should there be? Would you be interested in a patch that implemented a
> few more of the POSIX timers APIs?

We're always interested in contributions, so, sure, go ahead.  Just note
that you have to have a Cygwin copyright assignment in place before we
can apply patches for legal reasons.  See http://cygwin.com/contrib.html.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

