Re: [Patch] Fix error path of pthread_cond_timedwait

Andreas Jaeger <[email protected]> Tue, 17 Feb 2004 07:30:33 +0100
Newsgroups gmane.comp.lib.phil
Message-ID <[email protected]>
--=-=-=
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

Dinakar Guniguntala <[email protected]> writes:

> Hi Ulrich,
>
> During testing of IBM JVM, it was noticed that a pthread_cond_signal
> appeared
> to be lost. After debugging I found that on i386, there is an error path
> for the pthread_cond_timedwait call (on TIMEOUT) that updates the sequence
> counters without holding a lock. This eventually leads to a signal getting
> lost. Attached is the patch that fixes the problem

Is a similar patch needed for x86-64?

Andreas
=2D-=20
 Andreas Jaeger, [email protected], http://www.suse.de/~aj
  SuSE Linux AG, Maxfeldstr. 5, 90409 N=FCrnberg, Germany
   GPG fingerprint =3D 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126

--=-=-=
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQBAMbUJOJpWPMJyoSYRAms1AJ0RBPHIzVfJZCOhQ6UMejGSafk8tACeK40O
JBtV/jlIBVH/KZuImtOv7/E=
=3/P5
-----END PGP SIGNATURE-----
--=-=-=--