Has MQX ever supported non-preemptive scheduling?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Has MQX ever supported non-preemptive scheduling?

807 Views
pro-supportengi
NXP Employee
NXP Employee

MQX supports preemptive scheduling with a priority based and Round Robin priority based preemptive scheduling.  The MQX LTS only supports a Preemptive Round Robin policy. 

Has MQX ever supported a non-preemptive scheduler or policy?

0 Kudos
1 Reply

442 Views
soledad
NXP Employee
NXP Employee

Hello,

Sorry if I misunderstood your question,  MQX classic supports these policies:

• FIFO (also called priority-based preemptive) scheduling is a core component - the active task is the highest-priority task that has been ready the longest.

• Round robin (also called time slice) scheduling is a core component - the active task is the highest-priority task that has been ready the longest without consuming its time slice.

• Explicit scheduling (using task queues) is an optional component - you can use task queues to explicitly schedule tasks or to create more complex synchronization mechanisms. Because task queues provide minimal functionality, they are fast. An application can specify a FIFO or round robin scheduling policy when it creates the task queue.

To providing a scheduling mechanism, task queues provide a simple and efficient way to synchronize tasks. You can suspend tasks in the task queue and remove them from the task queue.

MQX Lite only supports priority based pre-emptive scheduler.

Please let me know if this helps!!


Have a great day,
Sol

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos