commit | 56bfdebfb17ea9d3245b1f222e92b8e3b1ed6118 | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@python.org> | Wed Mar 18 09:26:25 2020 +0100 |
committer | GitHub <noreply@github.com> | Wed Mar 18 09:26:25 2020 +0100 |
tree | 69de990dd515d603b5fc01f172320b7b304fda12 | |
parent | 611836a69a7a98bb106b4d315ed76a1e17266f4f [diff] [blame] |
bpo-39984: Pass tstate to _PyEval_SignalAsyncExc() (GH-19049) _PyEval_SignalAsyncExc() and _PyEval_FiniThreads() now expect tstate, instead of ceval.
diff --git a/Python/ceval_gil.h b/Python/ceval_gil.h index f8b06ac..3e9f405 100644 --- a/Python/ceval_gil.h +++ b/Python/ceval_gil.h
@@ -286,7 +286,7 @@ /* Don't access tstate if the thread must exit */ if (!must_exit && tstate->async_exc != NULL) { - _PyEval_SignalAsyncExc(ceval); + _PyEval_SignalAsyncExc(tstate); } MUTEX_UNLOCK(gil->mutex);