[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: [rtl] Interrupts and task switching



MrJ wrote:
> 
> 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...
 
You don't need RTlinux for this.

Try the same with SCHED_FIFO scheduler for your user-space task.
(sched_setscheduler & others)

-- 
   Zdenek Kabelac    http://www.fi.muni.cz/~kabi/   kabi@fi.muni.cz

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