[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <8yak4i1sqf2.fsf@huya.qualcomm.com>
Date: Tue, 18 Jan 2011 16:11:45 -0800
From: David Brown <davidb@...eaurora.org>
To: Leo Prasath <leo.prasath@...il.com>
Cc: linux-kernel@...r.kernel.org, Yiying Zhang <eggbaby150@...il.com>
Subject: Re: sleep in microsecond granularity in linux
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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists