[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Patch] Fix error path of pthread_cond_timedwait



Dinakar Guniguntala <dgunigun in ibm com> 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
-- 
 Andreas Jaeger, aj suse de, http://www.suse.de/~aj
  SuSE Linux AG, Maxfeldstr. 5, 90409 Nürnberg, Germany
   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126

Attachment: pgp00000.pgp
Description: PGP signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]