Skip to content

epoll: use epoll_pwait2() if available#1339

Merged
azat merged 1 commit intolibevent:masterfrom
dmantipov:epoll-use-epoll-pwait2-if-available
Sep 27, 2022
Merged

epoll: use epoll_pwait2() if available#1339
azat merged 1 commit intolibevent:masterfrom
dmantipov:epoll-use-epoll-pwait2-if-available

Conversation

@dmantipov
Copy link
Copy Markdown

On GNU/Linux with epoll backend, prefer epoll_pwait2() if available, which is useful to support the timeout with microsecond precision (not nanosecond because an existing code uses struct timeval rather than struct timespec everywhere).

On GNU/Linux with epoll backend, prefer epoll_pwait2() if available,
which is useful to support the timeout with microsecond precision.
Copy link
Copy Markdown
Member

@azat azat left a comment

Choose a reason for hiding this comment

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

LGTM

@azat azat merged commit 117ee9a into libevent:master Sep 27, 2022
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