usleep will sleep until the next tick if you give is a value < 1
tick.  The default HZ setting on FreeBSD is 100, giving you a tick of
10ms.  I'm not sure why you are seeing it sleep for 2 ticks instead of
one, however.

Try building a kernel with an HZ of 1000 and see what happens.

Warner

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to