sleep in microsecond granularity in linux



Hi there,

Is it possible to sleep in granularity of microseconds ?
From what i know, there is msleep() which can sleep in milliseconds
and there is udelay() which busy waits for time in microsecond
granularity.
But I need to sleep ( not busy wait ) for granularity of microseconds ...

Is there a way to code a new API in linux kernel to allow this ? For
example using interrupts ..
Or is there a way to some external hardware timer cards that issue
interrupts after certain usecs ?

Any help / pointers/ tips will be very appreciated.

Thanks,
-Leo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: sleep in microsecond granularity in linux
    ... But I need to sleep (not busy wait) for granularity of microseconds ... ... The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum. ...
    (Linux-Kernel)
  • Re: new here - wget ./configure
    ... Parsing authenticationMethod=simple ... stop: sleep 100000 microseconds ... restart: sleep 100000 microseconds ...
    (comp.sys.sun.admin)
  • a zone as ldapclient
    ... but without success within a solaris 10 zone this time. ... Parsing authenticationMethod=simple ... stop: sleep 100000 microseconds ...
    (comp.unix.solaris)
  • Re: Sun Solaris 10 - AD integration
    ... I need to overcome is with the ldapclient. ... stop: sleep 100000 microseconds ...
    (comp.unix.solaris)
  • Solaris ldap client problem (tls:simple + anonymous)
    ... but I have a problem regarding connecting Solaris 10 ldap client to it ... Both SSL with proxy credential level or anonymous without SSL work ... stop: sleep 100000 microseconds ...
    (comp.unix.solaris)