Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

net: lib: coap: Use eventfd instead of socket pair #87544

Merged
merged 1 commit into from
Mar 26, 2025

Conversation

pdgendt
Copy link
Collaborator

@pdgendt pdgendt commented Mar 24, 2025

Convert the socket poll logic to use a more lightweight eventfd file descriptor instead of a socket pair.

Copy link
Member

@jukkar jukkar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall LGTM.

Should we remove the select NET_SOCKETPAIR from Kconfig, and/or replace it
by select EVENTFD?

Convert the socket poll logic to use a more lightweight eventfd file
descriptor instead of a socket pair.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
@pdgendt pdgendt force-pushed the coap-server-eventfd branch from 8f24ee3 to 4e292f3 Compare March 24, 2025 09:08
@kartben kartben merged commit 044a94f into zephyrproject-rtos:main Mar 26, 2025
22 checks passed
@pdgendt pdgendt deleted the coap-server-eventfd branch March 26, 2025 07:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants