Subject: Re: select timeout question
To: Jaromir Dolecek <jdolecek@NetBSD.org>
From: Matthew Fincham <matthewf@cat.co.za>
List: tech-kern
Date: 09/23/2004 08:22:33
> Matthew Fincham wrote:
> > It seems the 1.4 version rounds down, while the 1.5 and up version
rounds up
> > (but two levels). Can anyone shed some light on this, and if there is a
way
> > to improve the resolution of the timeouts (asking for a 21ms timeout and
> > getting a 40ms timeout is not great).
>
> What happens if you use nanosleep() or usleep() instead?
>
> Jaromir
Same set of results.
Matthew