Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Subject: Re: How to emulate pthread_yield
From: Robert Collins <rbcollins@cygwin.com>
To: Attila Szegedi <attila@szegedi.org>
Cc: cygwin@cygwin.com
In-Reply-To: <02d801c34b1b$0a533010$fd19fea9@caesar>
References: <02d801c34b1b$0a533010$fd19fea9@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: <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--

