Skip to content
Commit 59a2d84f authored by Marcin Niestroj's avatar Marcin Niestroj Committed by David Leach
Browse files

drivers: nsos: introduce nsos_poll_if_blocking() helper function



Introduce nsos_poll_if_blocking(), which replaces common code in:
 * nsos_accept_with_poll()
 * nsos_recvfrom_with_poll()

This will allow to introduce similar behavior for other blocking APIs in
subsequent commits.

Signed-off-by: default avatarMarcin Niestroj <m.niestroj@emb.dev>
parent d1d45b65
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment