emscripten-core / emscripten-core/emscripten

When the main thread is blocking it should be uninterruptible by a crashing secondary thread

Open
#15,161 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.