Hi all,

I' ve a problem regarding scheduling tasks. let me explain my software :

If have one low priority task which consumes a large part of cpu time.
If have one high priority task which is started by a interrupt routine and
do a little processing.
If have an interrupt routine which wakes up the high priority task.

The problem is:

When the interrupt occurs, the high priority task is fired. runs until it
goes asleep again. after this the low priority task get running again (it
was stopped by the interrupt) BUT the interrupt routine is not finished yet.
After the low priority task falls asleep, and eventualy the interrupt
routine ends.

How can i let the interrupt routine ends immediately ???? (if the interrupt
routine is not finished, new interrups are blocked);

Rini

++++++++++++++++++++++++++++++++++++++

Rini van Zetten, [EMAIL PROTECTED]
ARVOO Engineering BV
Tel. +31 - 348 - 413 897
Fax. +31 - 348 - 417 242
P.O. box 439
3440 AK Woerden, The Netherlands

++++++++++++++++++++++++++++++++++++++

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