]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-116396: Pass "detached_state" argument to tstate_set_detached (#116398)
authorSam Gross <colesbury@gmail.com>
Thu, 7 Mar 2024 18:37:43 +0000 (13:37 -0500)
committerGitHub <noreply@github.com>
Thu, 7 Mar 2024 18:37:43 +0000 (13:37 -0500)
commit834bf57eb79e9bf383a7173fccda032f4c53f69b
treea921ed5705a2dcc42d28c173198f92ee7d9e552f
parentd9bcdda39c62a8c37637ecd5f82f83f6e8828243
gh-116396: Pass "detached_state" argument to tstate_set_detached (#116398)

The stop-the-world code was incorrectly setting suspended threads'
states to _Py_THREAD_DETACHED instead of _Py_THREAD_SUSPENDED.
Python/pystate.c