calibrating time

Dave Horsfall dave at horsfall.org
Wed Dec 22 00:07:33 PST 2004


On Wed, 22 Dec 2004, Peter Jeremy wrote:

> 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)).

Or, for that matter, the traditional use of sleep(2) before that :-)

-- Dave


More information about the freebsd-hackers mailing list