Messages in this thread | | | From | David Brown <> | Subject | Re: sleep in microsecond granularity in linux | Date | Tue, 18 Jan 2011 16:11:45 -0800 |
| |
On Tue, Jan 18 2011, Leo Prasath wrote:
> 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 ...
usleep_range() See Documentation/timers/timers-howto.txt for info, and caveats.
David
-- Sent by an employee of the Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
| |