Skip to content

bpo-39877: take_gil() checks tstate_must_exit() twice#18890

Merged
vstinner merged 1 commit intopython:masterfrom
vstinner:take_gil_exit3
Mar 9, 2020
Merged

bpo-39877: take_gil() checks tstate_must_exit() twice#18890
vstinner merged 1 commit intopython:masterfrom
vstinner:take_gil_exit3

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Mar 9, 2020

take_gil() now also checks tstate_must_exit() after acquiring
the GIL: exit the thread if Py_Finalize() has been called.

https://bugs.python.org/issue39877

take_gil() now also checks tstate_must_exit() after acquiring
the GIL: exit the thread if Py_Finalize() has been called.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants