[riot-notifications] [RIOT-OS/RIOT] sys/net/gnrc/netif: make use of confirm_send (#15821)

benpicco notifications at github.com
Thu Jan 28 14:59:09 CET 2021


>  I'm not sure if it's the right way to go to force blocking the thread for a couple of seconds by default.

I think in most cases, this is the desired behavior. If it takes several seconds to `send()` something, I would expect that `send()` only returns after that time and returns success only if the `send()` was successful (leveraging link-layer ACKs if possible).

Non-blocking behavior should be explicitly requested (`MSG_DONTWAIT` / `O_NONBLOCK`).

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/15821#issuecomment-769071332
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210128/65bbf42b/attachment.htm>


More information about the notifications mailing list