Has MQX ever supported non-preemptive scheduling?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Has MQX ever supported non-preemptive scheduling?

1,246 次查看
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?

标记 (1)
0 项奖励
回复
1 回复

881 次查看
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 项奖励
回复