This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: nanosleep() patch


On Fri, Jan 24, 2003 at 10:58:15AM -0500, Jason Tishler wrote:
> On Wed, Jan 22, 2003 at 11:44:02AM +0100, Corinna Vinschen wrote:
> > I like that patch.  Applied.
> 
> I just realized that nanosleep() is not getting declared.  Is the
> attached patch the best solution?  If so, then I will submit a patch to
> newlib.  If not, what is?

Hmm, no.  This exposes all other functions in time.h still unavailable.

I think adding a 

#if defined(__CYGWIN__) && !defined(_POSIX_TIMERS)
int _EXFUN(nanosleep, (const struct timespec  *rqtp, struct timespec *rmtp));
#endif

would be more adequate so far.

Adding all missing POSIX timer functions to Cygwin would be more
satisfactory, though ;-)

Corinna

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]