emscripten-core / emscripten-core/emscripten
When the main thread is blocking it should be uninterruptible by a crashing secondary thread
Open
- Dominant language
- C++
- Stars
- 27.6k
- Forks
- 3.6k
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 109
Description
When secondary threads crash they post their exceptions back to the main thread using postMessage, but this will not interrupt the main thread when it is blocking (for example on `pthread_join`). This means that if a thread crashes while the main thread is waiting on it the main thread will block forever.
Contributor guide
Assessment
This issue has not been assessed yet.