[PATCH] pthread_yield

Corinna Vinschen corinna-cygwin@cygwin.com
Thu Feb 10 09:54:00 GMT 2011


On Feb 10 01:04, Christopher Faylor wrote:
> On Wed, Feb 09, 2011 at 11:49:58PM -0600, Yaakov (Cygwin/X) wrote:
> >pthread_yield(3) was part of the POSIX.1c drafts but never made it into
> >the final standard.  Nevertheless, it is provided by Linux[1],
> >FreeBSD[2], OpenBSD[3], AIX[4], and possibly other *NIXes.  
> >
> >"On Linux, this function is implemented as a call to sched_yield(2)."
> >Patch attached.
> 
> Please check in.

Two notes:

- We should use the API version bump to 236 for both new functions,
  __xpg_strerror_r as well as pthread_yield.

- Please add the new entry point to doc/new-features.sgml.


Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat



More information about the Cygwin-patches mailing list