mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-06 16:27:41 +00:00
This commit reworks socket poll implementation to support multiple socket implementations. To achieve that, two ioctl poll helper requests were added: ZFD_IOCTL_POLL_PREPARE and ZFD_IOCTL_POLL_UPDATE. The poll implementation calls ioctl with these requests for each socket requested in the fds table. The first request is responsible for preparing k_poll_event objects for specific socket. It can request to skip waiting in k_poll by returning EALREADY through errno. The latter request is responsible for processing outcome of k_poll for each socket. It can request to retry the k_poll by returning EAGAIN through errno. Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no> |
||
---|---|---|
.. | ||
__assert.h | ||
byteorder.h | ||
dlist.h | ||
errno_private.h | ||
fdtable.h | ||
libc-hooks.h | ||
list_gen.h | ||
mempool_base.h | ||
mempool.h | ||
printk.h | ||
rb.h | ||
reboot.h | ||
ring_buffer.h | ||
sflist.h | ||
slist.h | ||
stack.h | ||
util.h |