Hi, all,
I am a newbie on RTlinux. If I have two task, one is periodic task which
has lower priority and the other one is aperiodic task which has higher
priority, and the aperiodic task need more process time than periodic task,
would the periodic task was blocked by aperiodic task?
If periodic task was blocked, so it is not periodic anymore because it can
not get period time from cpu.
Any help is appreciate.
GL
A question about periodic task
On Mon, 16 Mar 2009, guoliang liu wrote:
> I am a newbie on RTlinux. If I have two task, one is periodic task which
> has lower priority and the other one is aperiodic task which has higher
> priority, and the aperiodic task need more process time than periodic task,
> would the periodic task was blocked by aperiodic task?
> If periodic task was blocked, so it is not periodic anymore because it can
> not get period time from cpu.
>
> Any help is appreciate.
>
Welcome to the wonderful world of realtime operating systems... Yes, your
analysis is right (at least, when your operating system is using a
fixed-priority FIFO scheduler for both mentioned tasks). (And hence, your
design is wrong :-))
But these are not Orocos problems, so you might be better off on the
mailinglist of your RTOS.
Herman
Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm