emscripten-core / emscripten-core/emscripten
Pthreads do not work without EXIT_RUNTIME=1 as of 3.1.8
Open
- Dominant language
- C++
- Stars
- 27.6k
- Forks
- 3.6k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 105
Description
Repro here: https://gist.github.com/connorjclark/4c3e33849f2a086f27f320f6a37270a4
output without EXIT_RUNTIME=1:
```
main start
```
output with EXIT_RUNTIME=1:
```
main start
thread_a start
```
I bisected to https://chromium.googlesource.com/external/github.com/emscripten-core/emscripten.git/+log/1a0b77c572ad..c48f73a5c763 / #16339
cc @sbc100
Contributor guide
Assessment
This issue has not been assessed yet.