AnsweredAssumed Answered

Preemption occurs in _lwmsgq_send()  after _task_stop_preemption()

Question asked by Leif Zars on Apr 23, 2015
Latest reply on Apr 23, 2015 by Leif Zars

This might be a bug, when I call _task_stop_preemption(), then call _lwmsgq_send() MQX preempts my task.

I check the tasks flag to insure that TASK_PREEMPTION_DISABLED is set before _CHECK_RUN_SCHEDULER is called inside of _lwmsgq_send.

 

So is this a bug, because it feels like one.

Outcomes