The relative timeout in linuxthreads

H . J . Lu hjl@lucon.org
Wed Feb 6 16:14:00 GMT 2002


On Wed, Feb 06, 2002 at 04:08:43PM -0800, Ulrich Drepper wrote:
> "H . J . Lu" <hjl@lucon.org> writes:
> 
> > That is why I asked, how could a thread time out in 30 seconds?
> 
> clock_nanosleep().
> 

I want to wait on a condition variable and time out in 30 seconds. How
do I do that?


H.J.



More information about the Libc-alpha mailing list