[riot-notifications] [RIOT-OS/RIOT] core: `msg_receive()` sometimes returns without `msg` being re-set (#10881)
notifications at github.com
Mon Jan 28 12:45:05 CET 2019
I've added an to msg_receive() (at the top, write something to m->content.value, below in the failing case, read back and assert it has been changed). That triggers as @miri64's default case.
I've then tried to enable debug in msg.c, and it still triggers. It looks like a thread sitting in "msg_receive()" is being woken up before anyone has copied a message, which should not be possible.
This must be something timing sensitive, as enabling more debug output either postpones or "fixes" the problem.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications