AnsweredAssumed Answered

MRX Prevent scheduler from running

Question asked by Leif Zars on Feb 23, 2016
Latest reply on Mar 9, 2016 by Carlos_Musich

I have a region of code I want to prevent MQX from context switching. I can't disable interrupts, and I need to be able to insert messages in to queues that have waiting task with higher priority.

Is the only option to raise the priority of the current task while it performs a few message en-queues?


_task_stop_preemption does not work because it is only effective of preventing the scheduling when the slice time of the task has expired.