This is the mail archive of the cygwin@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: How to emulate pthread_yield


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>.

Attachment: signature.asc
Description: This is a digitally signed message part


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