kumsta wrote:
> 
> Hi,
> 
> > Maryam Moghaddas wrote:
> > Using RTLinux V1, please tell me:
> 
> > What is an RTTASK priority in comparison to the interrupt handler ?
> >
> 
> Normally, the Irq handler has no priority compared to threads ... if
> enabled, irq interrupt all, save the context
> of the processor, handle the Irq, and then restore the processor context
> and return in his previous state.
> This explaine that your RTSemaphore is handled by your thread only after
> your Irq_handler totally done and if no
> higher priority thread is running.


To clarify a little as this has come up a few times.  If any RT task (or
anything else) is running (whatever the prioriy) and interrupts are
enabled, a hard interrupt will preempt the task that is running.  The
ISR code will run and when it exits the interrupted task will be
resumed.  This effectively means that interrupts have the highest
priority. 

Regards, Stuart
-- [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