How to emulate pthread_yield
Robert Collins
rbcollins@cygwin.com
Wed Jul 16 01:37:00 GMT 2003
On Wed, 2003-07-16 at 07:49, Attila Szegedi wrote:
> Still porting a piece of software from Linux to Cygwin. The code uses
> pthread_yield() function, but there is no such function in Cygwin's
> pthread.h (I updated my copy of Cygwin from the online setup today). Any
> known workaround? I tried looking around the mailing list archive, and in
> one place it seems like the poster suggested that sched_yield can be used
> instead. Is that right?
yes.
Rob
--
GPG key available at: <http://members.aardvark.net.au/lifeless/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://cygwin.com/pipermail/cygwin/attachments/20030716/e1b87928/attachment.sig>
More information about the Cygwin
mailing list