| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| 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" <attila AT szegedi DOT org> |
| To: | <cygwin AT cygwin DOT com> |
| Subject: | How to emulate pthread_yield |
| Date: | Tue, 15 Jul 2003 23:49:59 +0200 |
| MIME-Version: | 1.0 |
| 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |