NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/37791: _lwp_park() bug



The following reply was made to PR kern/37791; it has been noted by GNATS.

From: yamt%mwd.biglobe.ne.jp@localhost (YAMAMOTO Takashi)
To: gnats-bugs%NetBSD.org@localhost
Cc: kern-bug-people%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, 
netbsd-bugs%netbsd.org@localhost
Subject: Re: kern/37791: _lwp_park() bug
Date: Fri, 18 Jan 2008 12:48:50 +0900 (JST)

 > >Description:
 > 
 > When calling pthread_cond_timedwait(), it doesn't honour its abstime but 
 > immediately returns. Even specifying values in seconds does not make a 
 > difference; it just returns.
 > 
 > pthread_cond_wait() eventually dispatches to _lwp_park() that obviously 
 > returns immediately.
 > 
 > 
 > >How-To-Repeat:
 > try a pthread_cond_timedwait() with a timeout of few seconds and whatever 
 > you pass, it returns immediately.
 
 are you sure that you specified a absolute time rather than a relative time?
 
 YAMAMOTO Takashi
 



Home | Main Index | Thread Index | Old Index