On Die, 23 Mai 2000, you wrote:

>> How can I manage that while the rtf-handler adds a new entry to the list
>> the processing realtime-thread ist deferred until linking the new entry into 
>> the list is completed?
>
>I think that there are ways of adding new entries to the list in such a way
>that it always remains valid (especially when adding to the end, not
>inserting). If not, I would block interrupts as you suggested. 

If I block Interrupts, is it possible to miss one on-shot-timer-trigger or
will it simply get deferred until I reenable IRQs again?

>After that you might just run RT scheduler, if it is not run automatically
>on exit from RT FIFO handler.
How to do this? May I simply call  rtl_schedule(void) from
include/rtl_sched.h ? I could not find any documentation on this function. 

So my Code in the fifo-handler would look like this:
rtl_no_interrupts();
// Insert Element into sorted list
rtl_restore_interrupts();
rtl_schedule();

Best regards
        J�rgen

PS: Are there any other man-pages or other documentation describing the
meaning oft all the functions defined in the include/ -directory ?

-- 
[EMAIL PROTECTED]
PGP key: http://www.math.uni-goettingen.de/appel/jappel.pgp
-- [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