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.
Solved! Go to Solution.
..... might have been a stack overflow.