Thread (2 messages) 2 messages, 2 authors, 2003-12-31

RE: A question on kernel clock:

From: John Zhou <hidden>
Date: 2003-12-31 04:15:50

Possibly related (same subject, not in this thread)

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/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help