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 [ref] you wrote:
quoted
quoted
(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/