Skip to content

Add wrapper for timerfd_create, timerfd_settime, and timerfd_gettime to os module #108277

Closed
@m-tmatma

Description

@m-tmatma

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions