roux jean-denis wrote:
>  If not what will happen if an IT occurs while the
> handler is running ? I ask that because I've assumed
> that the principle of bottom halves is not used with
> RTAI's ITs, so the handler might by long (in time).
> 
Hi all,
  I don't think that there is any global_cli(), cause other critical
rt-irq can happend.

For your problem , you should create a RT-TASK with precise priority and
then wait for a semaphore
which is signaled by your it-handler. So your processing is not an
it-handler.

It's not a good idea to have big it-handler, and you can do a
global_cli() in your RT-TASK if you don't want to be interrupted.

Chris.

--
Kumsta Christophe
Machinery Agrobotic Fruit
<[EMAIL PROTECTED]>
Real-Time image processing developper
RT-Linux/RTAI ( Use the Source Luck !)
-- [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/

Reply via email to