[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
RE: [rtl] Interrupts and task switching
as far as I'm aware, when you are executing in a rt task - you havce complete control.
Since you are in the kernel space, nothing will swap your task out.
I proved this out just recently when my task went into an infinite loop, and the machine hung - completely :)
had to hard reset...
regards
Jake
----------
From: Juan A. Rosell Ortega[SMTP:juaroor@disca.upv.es]
Sent: Friday, 02 October, 1998 7:22 PM
To: rtl@rtlinux.cs.nmt.edu
Subject: [rtl] Interrupts and task switching
I¥m new in programming under Linux and even more new in producing Sw for
RT-Linux , so sorry if I ask simple things but , anyway , I¥ve got some
questions about how RT-Linux deals with interrupts and which things can
and can not do an RT-task:
Is there anyway of switching off and on interrupts from inside an
RT-task?
And, can an RT-task to disable task switching, I mean , avoid any
other task to take processor for execution as in a semaphore? If it¥s
not possible for an RT-task to do this (keep processor for itself) , how
can be implemented mutual exclusion in RT-Linux?
Thank you in advance.
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail majordomo@rtlinux.cs.nmt.edu OR
echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.cs.nmt.edu
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail majordomo@rtlinux.cs.nmt.edu OR
echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.cs.nmt.edu
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/