lkml.org 
[lkml]   [1999]   [Jul]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: Microsecond resolution timers - final word
    Hi,

    On Tue, 27 Jul 1999 18:44:19 +1000, Robert Norris
    <box@box.halls.monash.edu.au> 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.

    --Stephen

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:53    [W:0.019 / U:2.800 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site