Preemption occurs in _lwmsgq_send() after _task_stop_preemption()

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

Preemption occurs in _lwmsgq_send() after _task_stop_preemption()

Jump to solution
416 Views
leifzars
Contributor IV

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.

0 Kudos
1 Solution
300 Views
leifzars
Contributor IV

..... might have been a stack overflow.

View solution in original post

0 Kudos
1 Reply
301 Views
leifzars
Contributor IV

..... might have been a stack overflow.

0 Kudos