rust-lang / rust-lang/libc

Any chances to include `epoll_pwait2()`?

Open
#2,632 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

C-API-request E-medium
Dominant language
Rust
Stars
2.6k
Forks
1.3k
Avg merge
1d 22h
Merged PRs (30d)
69

Description

It would be nice to have better timeout granularity.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the existing epoll bindings and related timeout definitions in the Rust libc crate. Check the epoll_pwait2 platform API requirements and existing binding conventions, then verify that the new symbol is exposed with the appropriate signature and platform gating. Done means Rust users can access epoll_pwait2 with the finer timeout granularity described in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
operating-systems
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.