Subject: Re: select timeout question
To: Matthew Fincham <firstname.lastname@example.org>
From: Jaromir Dolecek <jdolecek@NetBSD.org>
Date: 09/22/2004 20:00:35
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 Dolecek <jdolecek@NetBSD.org> http://www.NetBSD.cz/
-=- We should be mindful of the potential goal, but as the Buddhist -=-
-=- masters say, ``You may notice during meditation that you -=-
-=- sometimes levitate or glow. Do not let this distract you.'' -=-