A question on kernel clock:

Wolfgang Denk wd at denx.de
Wed Dec 31 08:40:32 EST 2003


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.

Best regards, and a Happy New Year!

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
Old programmers never die, they just become managers.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list