Skip to content

bpo-39877: take_gil() now exits the thread if finalizing#18854

Closed
vstinner wants to merge 2 commits intopython:masterfrom
vstinner:take_gil_exit
Closed

bpo-39877: take_gil() now exits the thread if finalizing#18854
vstinner wants to merge 2 commits intopython:masterfrom
vstinner:take_gil_exit

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Mar 8, 2020

take_gil() is now responsible to exit the thread if Python is
finalizing. Not only exit before trying to acquire the GIL, but exit
also once the GIL is succesfully acquired.

https://bugs.python.org/issue39877

Loading
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.

4 participants