emscripten-core / emscripten-core/emscripten
Can we emulate inter-thread signal handling such that `raise()` (i.e. `kill(getpid())`) can work between threads?
Open
- Dominant language
- C++
- Stars
- 27.6k
- Forks
- 3.6k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 105
Description
Emscripten doesn't generally support signal, and in particular there are no support for multiple processes.
However signals send and received with a single program, and between threads, should be possible, and least in most cases. The only situation we most likely will not be able to support is the interrupting of a busy-looping thread.
See https://github.com/emscripten-core/emscripten/pull/14883 for an initial PR that begins this work.
Contributor guide
Assessment
This issue has not been assessed yet.