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]

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/


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