calibrating time
Peter Jeremy
PeterJeremy at optushome.com.au
Tue Dec 21 23:51:47 PST 2004
On Tue, 2004-Dec-21 22:15:33 +0300, Castl Troy wrote:
>Just want to ask people here who have time to run my program and answer me
>back output from it.
Out of interest, what are you expecting to demonstrate? In FreeBSD,
both sleep(3) and usleep(3) are implemented using nanosleep(2).
(This differs from the traditional implementation of sleep(3) which
used alarm(2) and pause(2)).
nanosleep(2) sleeps an integral number of ticks which is rounded up by
one tick.
--
Peter Jeremy
More information about the freebsd-hackers
mailing list