1
0
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:
Kaspar Schleiser 2019-01-28 17:14:16 +01:00
parent 62bb4cc526
commit 82b2362bc3

View File

@ -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);