mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
Co-authored-by: Christian Heimes <christian@python.org> Co-authored-by: Brett Cannon <brett@python.org>
6 lines
361 B
ReStructuredText
6 lines
361 B
ReStructuredText
Emscripten builds cannot handle signals in the usual way due to platform
|
|
limitations. Python can now handle signals. To use, set
|
|
Module.Py_EmscriptenSignalBuffer to be a single byte SharedArrayBuffer and
|
|
set Py_EMSCRIPTEN_SIGNAL_HANDLING to 1. Writing a number into the
|
|
SharedArrayBuffer will cause the corresponding signal to be raised into the
|
|
Python thread.
|