AnsweredAssumed Answered

MQX Task Scheduling Question

Question asked by pmt on Jul 6, 2012
Latest reply on Jul 18, 2012 by pmt

 

I have a quesion about MQX's task scheduling policy.  For the purposes of this question assume round robin is disabled.  Say I have three tasks:

 

TASK1_PRI(5) // highest priority

TASK2_PRI(6)  

TASK3_PRI(6) 

 

Task2 is "active" and Task3 is "ready".  Now Task1 becomes ready, then active and preempts Task2.  When Task1 is finished will the scheduler guarentee a return to Task2 or might Task3 run instead?  Is there any option to ensure that Task2 runs over Task3 until Task2 hits a blocking call?

 

Pmt

 

 

Outcomes