[riot-notifications] [RIOT-OS/RIOT] gnrc/sock: recv avoid spinning xtimer (#16831)

Karl Fessel notifications at github.com
Thu Sep 9 15:53:22 CEST 2021


### Contribution description

avoid spinning xtimer on socket receive with short timeout by increasing the timeout to XTIMER_BACKOFF

### Testing procedure

run benchmark_udp with short intervalls

### Issues/PRs references

Fixes #16808

You can view, comment on, or merge this pull request online at:

  https://github.com/RIOT-OS/RIOT/pull/16831

-- Commit Summary --

  * gnrc/sock: recv avoid spinning xtimer

-- File Changes --

    M sys/net/gnrc/sock/gnrc_sock.c (6)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/16831.patch
https://github.com/RIOT-OS/RIOT/pull/16831.diff

-- 
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/16831
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210909/55501cde/attachment.htm>


More information about the notifications mailing list