mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
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…
Reference in New Issue
Block a user