On Wed, 17 Nov 1999, Rus V. Brushkoff wrote:
> : You should send data in non-blocking way in RT task: probably use rt_com
> : driver or buffer data yourself, and use interrupt-driven sending task.
> : Waiting longer than 100 us for something in RT task is a bad design.
>
> Hmm, and what if I have a rt task with a 5 seconds period ? Where is
> this number (100 us) from ?
This is not to block other interrupts without a good reason. The number:
the RT interrupt/timer processing overhead can be around 5, max 10 us. So
instead of waiting 100 us, just use 90 of them for more productive tasks.
I know, it makes algorithm more complicated (need of locking, considerations
what can interrupt what...) but the performance gain may be worth it.
Regards,
--
Tomek
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/