-
-
Notifications
You must be signed in to change notification settings - Fork 31.2k
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
gh-59705: Set OS thread name when Thread.name is changed #127702
Conversation
@serhiy-storchaka @encukou: I propose to update the OS thread name when The problem is that on macOS, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. There are questions for implementation (What about empty name? Is not it dangerous to silently ignore setting the OS name when set name from other thread?), but we can only answer them after users started using this feature.
Co-authored-by: Petr Viktorin <[email protected]>
Merged, thanks for reviews. |
…n#127702) Co-authored-by: Petr Viktorin <[email protected]>
📚 Documentation preview 📚: https://cpython-previews--127702.org.readthedocs.build/