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 |
Subject: | Re: How to emulate pthread_yield |
From: | Robert Collins <rbcollins AT cygwin DOT com> |
To: | Attila Szegedi <attila AT szegedi DOT org> |
Cc: | cygwin AT cygwin DOT com |
In-Reply-To: | <02d801c34b1b$0a533010$fd19fea9@caesar> |
References: | <02d801c34b1b$0a533010$fd19fea9 AT caesar> |
Message-Id: | <1058310005.6956.7.camel@localhost> |
Mime-Version: | 1.0 |
Date: | 16 Jul 2003 09:00:05 +1000 |
--=-rWVYwKQUWdjradD0syor Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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 --=20 GPG key available at: <http://members.aardvark.net.au/lifeless/keys.txt>. --=-rWVYwKQUWdjradD0syor Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQA/FId1I5+kQ8LJcoIRAs1TAKDG2PEq/QkVN3oc6Nl+akqEzK/PgwCgkwrZ FuaiJJPU4Hzg0r7SE6gHtjo= =83oW -----END PGP SIGNATURE----- --=-rWVYwKQUWdjradD0syor--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |