2009/3/16 Razvan Deaconescu <[email protected]>:
> 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


Hmm..busy-wait is not good for my situation. Is there any way to
achieve these little timeouts with RT_PREEMPT patch?

--
Denis

--
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