A question on kernel clock:
John Zhou
zjzhou at newrocktech.com
Wed Dec 31 15:15:50 EST 2003
Sorry! It should be usleep() used in user space!
Best Regards,
John
> run on the board. But, my "nsleep()" is not exactly. So, I want to
> realize the timer mechanism of Linux used.
> (1) which timer is used for nsleep?
I have not the slightest idea. I don't know of any standard funtion
with that name - neither in user space nor in kernel code.
-----Original Message-----
From: Wolfgang Denk
Sent: Wednesday, December 31, 2003 5:41 AM
Subject: Re: A question on kernel clock:
In message <20031230210713.GC5005 at maybe.org> you wrote:
>
> > > (1) which timer is used for nsleep?
> >
> > I have not the slightest idea. I don't know of any standard funtion
> > with that name - neither in user space nor in kernel code.
>
> Perhaps he means nanosleep().
Perhaps. But then the definition of nanosleep() says that it will cause
a delay of "at least the time specified in *req", i. e. the upper bound
is not even specified. But the OP seemed to assume a strict timing, so
maybe it was yet another function.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-dev
mailing list