Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <02d801c34b1b$0a533010$fd19fea9@caesar> From: "Attila Szegedi" To: Subject: How to emulate pthread_yield Date: Tue, 15 Jul 2003 23:49:59 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4925.2800 X-Authenticated-Sender: 6d7b5a299a540e356db498488f01ad12 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/