summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorHood Chatham <roberthoodchatham@gmail.com>2022-04-03 20:58:52 (GMT)
committerGitHub <noreply@github.com>2022-04-03 20:58:52 (GMT)
commit087d0fa5b97796560c0d8ceab4f0360fd54baf4f (patch)
tree975274b43e0cc50d11f70ba0c6a8fd344d74d632 /Misc
parentbdc497496548e30fa208a8d98c30bf6d1833ac4c (diff)
downloadcpython-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.rst6
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.