Tasks, RM Tasks, Queues and priorities.
John Bebbington
Bebbington.John at litef.de
Fri Oct 27 10:31:19 UTC 2000
Hello RTEMS users,
I am experiencing a problem with the interaction of tasks and queues and
wanted to know if I was doing anything wrong.
Here is the scenario:
=====================
Problem:
The problem is that the Task B seems to suspend and not wake although there
is a message pending in Queue B.
If a second message is sent later then the Task B resumes and processes both
messages.
My question is :
Am I causing problems by assigning a higher priority to sporadic Tasks A & B
than the periodic Rate Monotonic task?
Is it possible that because there is a RM task present that the sporadic
task B does not get resumed until a 2nd message enters the queue?
Can the "readying" of a RM task have priority over the sporadic task B if
the task B's priority is greater than that of the RM task?
I have read in the users manual for RTEMS that critical RM tasks should have
higher priority than the non-critical tasks. When "relaxing the rules a bit"
the sporadic tasks are okay as long as these sporadic tasks don't take much
time and can be treated the same as ISRs for calculating the processor
utilisation.
Any comments would be helpful
regards
John Bebbington.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20001027/fd35c72e/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Zeichnung1.gif
Type: image/gif
Size: 9609 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/users/attachments/20001027/fd35c72e/attachment-0001.gif>
More information about the users
mailing list