Skip to content

Check if the kernel implements epoll_pwait2 - #140

Merged
dinosaure merged 2 commits into
mainfrom
verify-epoll_pwait2
Sep 14, 2026
Merged

dinosaure merged 2 commits into
mainfrom
verify-epoll_pwait2

Conversation

@dinosaure

Copy link
Copy Markdown
Contributor

Catched by the RISCV64 CI where epoll_pwait2 is defined but not implemented by the kernel (and ENOSYS is raised). Here we extend our conf/select.ml to verify if epoll_pwait2 is really available.

Comment thread lib/conf/select.ml Outdated
Comment thread lib/conf/select.ml Outdated
Comment thread lib/conf/select.ml Outdated
@dinosaure

Copy link
Copy Markdown
Contributor Author

Tested on linux/riscv64 (where poll/ppoll is chosen) and on my machine (linux/x86_64) (where epoll is chosen).

@dinosaure
dinosaure merged commit 8756509 into main Sep 14, 2026
18 checks passed
avsm pushed a commit to ocaml/opam-repository that referenced this pull request Sep 14, 2026
CHANGES:

- Fix how we recognize the support of `epoll` (@dinosaure, @hannesm, robur-coop/miou#140)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants