Preemption occurs in _lwmsgq_send() after _task_stop_preemption()

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

Preemption occurs in _lwmsgq_send() after _task_stop_preemption()

跳至解决方案
467 次查看
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 项奖励
回复
1 解答
351 次查看
leifzars
Contributor IV

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

在原帖中查看解决方案

0 项奖励
回复
1 回复
352 次查看
leifzars
Contributor IV

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

0 项奖励
回复