◐ Shell
clean mode source ↗

Add wrapper for timerfd_create, timerfd_settime, and timerfd_gettime to `os` module

Feature or enhancement

Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Links to previous discussion of this feature:

Proposal:

eventfd is implemented at #20930 (#85173).
But timerfd is not implemented yet.

timerfd_create, timerfd_settime, and timerfd_gettime are Linux syscalls that create and operate on a timer that delivers timer expiration notifications via a file descriptor.

See https://man7.org/linux/man-pages/man2/timerfd_create.2.html

I propse to add those wrapper functions to os module.

Linked PRs