FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

bpo-39877: Fix PyEval_RestoreThread() for daemon threads by vstinner · Pull Request #18808 · python/cpython · GitHub

/ cpython Public

bpo-39877: Fix PyEval_RestoreThread() for daemon threads - #18808

Closed
vstinner wants to merge 1 commit into
python:masterfrom
vstinner:daemon_thread_runtime
Closed

bpo-39877: Fix PyEval_RestoreThread() for daemon threads#18808
vstinner wants to merge 1 commit into
python:masterfrom
vstinner:daemon_thread_runtime

Conversation

vstinner commented Mar 6, 2020
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Member

vstinner commented Mar 6, 2020

Copy link
Copy Markdown
Member Author

While this change does fix https://bugs.python.org/issue39877 it leaves Python in a sad state. Daemon threads simply loop on atttempting to take the GIL, but exit_thread_if_finalizing() is not called.

I wrote a more advanced solution: PR #18811.

vstinner closed this Mar 6, 2020
vstinner deleted the daemon_thread_runtime branch March 6, 2020 17:31
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL