diff options
author | Hood Chatham <roberthoodchatham@gmail.com> | 2022-04-03 20:58:52 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-03 20:58:52 (GMT) |
commit | 087d0fa5b97796560c0d8ceab4f0360fd54baf4f (patch) | |
tree | 975274b43e0cc50d11f70ba0c6a8fd344d74d632 /Misc | |
parent | bdc497496548e30fa208a8d98c30bf6d1833ac4c (diff) | |
download | cpython-087d0fa5b97796560c0d8ceab4f0360fd54baf4f.zip cpython-087d0fa5b97796560c0d8ceab4f0360fd54baf4f.tar.gz cpython-087d0fa5b97796560c0d8ceab4f0360fd54baf4f.tar.bz2 |
bpo-47176: Interrupt handling for wasm32-emscripten builds without pthreads (GH-32209)
Co-authored-by: Christian Heimes <christian@python.org>
Co-authored-by: Brett Cannon <brett@python.org>
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2022-04-02-14-32-21.bpo-47176.kTygYI.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-04-02-14-32-21.bpo-47176.kTygYI.rst b/Misc/NEWS.d/next/Core and Builtins/2022-04-02-14-32-21.bpo-47176.kTygYI.rst new file mode 100644 index 0000000..03fe54a --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2022-04-02-14-32-21.bpo-47176.kTygYI.rst @@ -0,0 +1,6 @@ +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. |