core/msg: Set THREAD_FLAG_MSG_WAITING when queueing messages#7533
core/msg: Set THREAD_FLAG_MSG_WAITING when queueing messages#7533haukepetersen merged 1 commit intoRIOT-OS:masterfrom
Conversation
|
Nice! The flag should also be set before going send-blocked. |
|
@kaspar030 could you point me to which line you mean? I assume it's the exact same thread_flags_set call that should be used there as well |
Just before the in both cases. |
|
@kaspar030 is this what you meant? |
|
Yes, please squash! |
|
#7536 adds some documentation on how to use this flag. |
51d8558 to
ef01efc
Compare
|
Thanks for improving the docs! |
|
Do we need a second ACK? |
Can't hurt... @haukepetersen @PeterKietzmann @aabadie care to take a look? |
haukepetersen
left a comment
There was a problem hiding this comment.
Did take a look: looks good to me -> ACK
|
2nd ACK is there, all green -> go |
The define
THREAD_FLAG_MSG_WAITINGexists in thread_flags.h since forever, but it was never used by the IPC implementation. This PR fixes that.