8000 gh-109746: Make `_thread.start_new_thread` delete state of new thread on its startup failure by chgnrdv · Pull Request #109761 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-109746: Make _thread.start_new_thread delete state of new thread on its startup failure #109761

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Nov 22, 2024
Prev Previous commit
Next Next commit
📜🤖 Added by blurb_it.
  • Loading branch information
blurb-it[bot] authored Sep 22, 2023
commit a2973aed54933ee9cb2c87ef5547984eed4f135e
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
If :~func:_thread.start_new_thread` fails to start a new thread, it deletes its state from interpreter and thus avoids its repeated cleanup on finalization.
0