Closed
Description
Historically a lot of the pthread implementation in emscripten was custom JS code.
We have been slowly moving towards using the musl C code where possible and there is
still some work to do here. Doing this has several advantages:
- More portable / self-contained wasm modules (fewer JS imports)
- Better internal compatibility with the rest of musl
- Fewer emscripten-specific bugs
- Less code to maintain
Even when we can't use the musl code directly, moving the code to C is from JS
has its advantages too.
Some of the work already done: #12861 #14858 #14853 #14775 #14707 #14484 #12839 #12615
Metadata
Metadata
Assignees
Labels
No labels