[lkml]   [1999]   [Jul]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Microsecond resolution timers - final word

On Tue, 27 Jul 1999 18:44:19 +1000, Robert Norris
<> said:

>> If no interrupt and yes to these two, you could probably
>> do with a loop using usleep(20)

> Perhaps I haven't quite understood kernel programming as well as I
> should, but I was under the impression I can't use libc functions in
> the kernel?

The kernel offers a udelay() function which should fit the bill.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:53    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean