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 Subject: Re: How to emulate pthread_yield From: Robert Collins To: Attila Szegedi Cc: cygwin AT cygwin DOT com In-Reply-To: <02d801c34b1b$0a533010$fd19fea9@caesar> References: <02d801c34b1b$0a533010$fd19fea9 AT caesar> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-rWVYwKQUWdjradD0syor" 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: . --=-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--