This is the mail archive of the
pthreads-win32@sourceware.org
mailing list for the pthreas-win32 project.
Bug with pthread_cond_timedwait
- From: "Gobet, Joseph Jean Marie" <joseph dot gobet at hp dot com>
- To: <pthreads-win32 at sourceware dot org>
- Date: Mon, 1 May 2006 16:30:43 +0200
- Subject: Bug with pthread_cond_timedwait
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