summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-03-09 21:12:04 (GMT)
committerGitHub <noreply@github.com>2020-03-09 21:12:04 (GMT)
commit85f5a69ae1541271286bb0f0e0303aabf792dd5c (patch)
treea99a6bd9961520fd1db58646e0b56fc6c3cb7d87 /Makefile.pre.in
parent363fab83b8a0e6d924c7a7c577feec6a2812bb8c (diff)
downloadcpython-85f5a69ae1541271286bb0f0e0303aabf792dd5c.zip
cpython-85f5a69ae1541271286bb0f0e0303aabf792dd5c.tar.gz
cpython-85f5a69ae1541271286bb0f0e0303aabf792dd5c.tar.bz2
bpo-39877: Refactor take_gil() function (GH-18885)
* Remove ceval parameter of take_gil(): get it from tstate. * Move exit_thread_if_finalizing() call inside take_gil(). Replace exit_thread_if_finalizing() with tstate_must_exit(): the caller is now responsible to call PyThread_exit_thread(). * Move is_tstate_valid() assertion inside take_gil(). Remove is_tstate_valid(): inline code into take_gil(). * Move gil_created() assertion inside take_gil().
Diffstat (limited to 'Makefile.pre.in')
0 files changed, 0 insertions, 0 deletions