[lkml]   [1999]   [Jul]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Can't sleep less than 20 ms
    On Thu, Jul 01, 1999 at 06:12:24PM -0400, Dong Liu wrote:
    > Hi,
    > I know Linux on i386 has a timer resolution of 10 ms, but
    > why I can't sleep for 10 ms, I can only sleep at
    > interval of 20 , 30, 40 ... ms.

    this is what the man page says :

    (from man 3 usleep)
    The usleep() function suspends execution of the calling
    process for usec microseconds. The sleep may be length­
    ened slightly by any system activity or by the time spent
    processing the call.

    hope this helps
    Linux is like a wigwam: no gates, no windows, and an apache inside

    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:52    [W:0.037 / U:35.336 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site