NetBSD-Bugs archive

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

Re: kern/37791: _lwp_park() bug



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