Bug with pthread_cond_timedwait

Gobet, Joseph Jean Marie joseph.gobet@hp.com
Mon May 1 14:30:00 GMT 2006


Hi,

We have found a bug in the pthreads library: The specific call with the
problem is pthread_cond_timedwait(), which is supposed to allow the
caller to wait for either a condition to occur or a timeout to occur.
The bug causes the call to return immediately with a timeout (ETIMEDOUT)
even if the timeout period requested is something long like 15 minutes.
We have found this behavior on two machines, both Windows server 2003
multi processor. The problem is happening rarely (1 per month) and very
hard to debug.

We are using pthreads-2004-06-22, Is this issue appeared all ready? Is
this issue fixed with a more uptodate version?

Thanks



More information about the Pthreads-win32 mailing list