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

[Patch] Fix error path of pthread_cond_timedwait






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
Please apply

(See attached file: timedwait.patch)

Regards,

Dinakar

Attachment: timedwait.patch
Description: Binary data


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