summaryrefslogtreecommitdiffstats
path: root/Python/ceval_gil.h
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-03-18 08:26:25 (GMT)
committerGitHub <noreply@github.com>2020-03-18 08:26:25 (GMT)
commit56bfdebfb17ea9d3245b1f222e92b8e3b1ed6118 (patch)
tree69de990dd515d603b5fc01f172320b7b304fda12 /Python/ceval_gil.h
parent611836a69a7a98bb106b4d315ed76a1e17266f4f (diff)
downloadcpython-56bfdebfb17ea9d3245b1f222e92b8e3b1ed6118.zip
cpython-56bfdebfb17ea9d3245b1f222e92b8e3b1ed6118.tar.gz
cpython-56bfdebfb17ea9d3245b1f222e92b8e3b1ed6118.tar.bz2
bpo-39984: Pass tstate to _PyEval_SignalAsyncExc() (GH-19049)
_PyEval_SignalAsyncExc() and _PyEval_FiniThreads() now expect tstate, instead of ceval.
Diffstat (limited to 'Python/ceval_gil.h')
-rw-r--r--Python/ceval_gil.h2
1 files changed, 1 insertions, 1 deletions
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 @@ _ready:
/* 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);