core/msg: add assert for problem identified in #10881
This commit is contained in:
parent
62bb4cc526
commit
82b2362bc3
@ -330,6 +330,7 @@ static int _msg_receive(msg_t *m, int block)
|
||||
thread_yield_higher();
|
||||
|
||||
/* sender copied message */
|
||||
assert(sched_active_thread->status != STATUS_RECEIVE_BLOCKED);
|
||||
}
|
||||
else {
|
||||
irq_restore(state);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user