This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
How to emulate pthread_yield
- From: "Attila Szegedi" <attila at szegedi dot org>
- To: <cygwin at cygwin dot com>
- Date: Tue, 15 Jul 2003 23:49:59 +0200
- Subject: How to emulate pthread_yield
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?
Cheers,
Attila.
--
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/