WebAssembly / WebAssembly/wasi-libc
Emulation for `pause`
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 1k
- Forks
- 251
- Avg merge
- 7h 15m
- Merged PRs (30d)
- 3
Description
With https://github.com/WebAssembly/wasi-libc/pull/162 and WASI poll_oneoff eliminating support for uninterruptable sleep, it may be useful to have WASI libc offer a pause function as an emulation feature, by having it execute a long-running poll_oneoff in an infinite loop.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the linked wasi-libc pull request and the existing WASI poll_oneoff implementation. Determine where a pause function would belong and how its emulation should be exposed. Done means WASI libc offers the proposed pause behavior using the described long-running poll_oneoff loop, with appropriate coverage identified during the implementation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- operating-systems
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100