[riot-notifications] [RIOT-OS/RIOT] gnrc_sock: re-issue MSG_RECV event if there are still received messages after `*_recv()` was called. (#14059)
notifications at github.com
Fri May 15 16:59:45 CEST 2020
> Because every sock has just one `sock_event_t` to post. So if the event is not drained from the queue before the next post, it will just be re-added to the queue.
So at the end of `gnrc_sock_recv()` we can assume the user is pulling the latest event. This is the right time to check for more incoming data and post an event if present. Makes sense to me now.
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