-
Notifications
You must be signed in to change notification settings - Fork 8.2k
samples: net: Exclude native_posix when socket service lib is used #73256
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
samples: net: Exclude native_posix when socket service lib is used #73256
Conversation
Socket service library uses eventfd, which does not work with native_posix platform, hence need to exclude it from samples that now rely on socket services. Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
|
Alternative would be to use |
The down-side of socketpair is that it consumes 2x the file descriptors |
pdgendt
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would be nice to have eventfd supported on posix too
IMHO even more nicer is if we could remove native_posix because of various issues with it 👢 👋 😀 |
Technically, we could have everything everywhere if we just generated namespaced syscall wrappers and avoided linking or including anything from the host libc. The Linux system call tables get updated.. /me looks at watch.. every decade or so 🤷🏼♂️ It's effectively
|
… lib is used Socket service library uses eventfd, which does not work with native_posix platform, hence need to exclude it from samples that now rely on socket services. Upstream PR: zephyrproject-rtos/zephyr#73256 Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
… lib is used Socket service library uses eventfd, which does not work with native_posix platform, hence need to exclude it from samples that now rely on socket services. Upstream PR: zephyrproject-rtos/zephyr#73256 Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no> (cherry picked from commit b0630e5)
Socket service library uses eventfd, which does not work with native_posix platform, hence need to exclude it from samples that now rely on socket services.
Fixes #73434