On Mon, 2009-03-16 at 00:41 +0300, Denis Borisevich wrote:
> Hi!
> Is there any way to achieve a timeout of say 10 usecs in kernel module?

See udelay[1]. Please note that it does busy-waiting (you can't
block/put to sleep the current process for periods less than 1000/HZ
milliseconds).

Razvan

[1] http://lxr.linux.no/linux+v2.6.28.7/arch/x86/include/asm/delay.h#20


--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to