Subject: Re: lib/28700
To: None <nathanw@netbsd.org, lib-bug-people@netbsd.org,>
From: None <nathanw@netbsd.org>
List: netbsd-bugs
Date: 01/02/2005 20:21:56
Synopsis: pthread_cond_timedwait() hang with "zero" absolute time

Responsible-Changed-From-To: lib-bug-people->nathanw
Responsible-Changed-By: nathanw@netbsd.org
Responsible-Changed-When: Sun, 02 Jan 2005 20:21:55 +0000
Responsible-Changed-Why:
pthread issues are mine


State-Changed-From-To: open->feedback
State-Changed-By: nathanw@netbsd.org
State-Changed-When: Sun, 02 Jan 2005 20:21:55 +0000
State-Changed-Why:
I believe that rev 1.11 of src/lib/libpthread/pthread_alarms.c addresses this.
The fix is similar to that given in the PR, but applied in all of the places
where alarms are set (otherwise, with multiple zero-valued alarms, only the
first one would work properly).

Can you confirm that this fixes the problem
?

I have also added a regression test for this to src/regress/lib/libpthread/cond6/