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

regards
Jake
 
 

  But , I think there´s a problem if you´ve got more than one task with the same ( or greater ) priority than the one you want to keep processor if its deadline arrives and RT-scheduler preempts it, or amI wrong?

   I mean , suppose you have two tasks with the same priority and there´s one that has to keep
processor for longer time than is marked by its deadline ( no matter the reason) ; when its deadline
arrives , the second task will take processor , (won´t it? ) and scheduler will preempt first task
and substitute it for the second. This is the case I´m in , I need a low priority task to keep processor
for longer time than its period would allow ; task is not supposed to do this a lot of times but just
for a little amount of times in an execution or solution would be just increase its period.

  Thank you in advance (sorry if I´m putting my feet up to head.)