Support pthread scheduling functions for WASM
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 2.6k
- Forks
- 1.3k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 69
Description
According to emscripten, the pthread is supported.
I quickly went through the documentation and found many things out of it implemented but also a few things which aren't there, for example:
pthread_setschedparampthread_getschedparam
And a few others.
Is there any reason those aren't added? Maybe these, in particular, aren't supported for wasm and emscripten? Can I add those if those are supported?
P.S. Asking mainly due to the support of wasm has been asked for in the thread-priority crate.
Contributor guide
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 with the linked wasm32-unknown-emscripten libc documentation and verify whether pthread_setschedparam and pthread_getschedparam are supported by Emscripten. Done means adding bindings for the supported scheduling functions and clearly excluding any functions the platform does not provide.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust, wasm
- Domain
- operating-systems
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100