Skip to content
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

[SR-11720] Thread.name leads to empty String on Linux #3281

Closed
weissi opened this issue Nov 6, 2019 · 3 comments
Closed

[SR-11720] Thread.name leads to empty String on Linux #3281

weissi opened this issue Nov 6, 2019 · 3 comments
Assignees

Comments

@weissi
Copy link
Member

weissi commented Nov 6, 2019

Previous ID SR-11720
Radar None
Original Reporter @weissi
Type Bug
Status Resolved
Resolution Done
Additional Detail from JIRA
Votes 0
Component/s Foundation
Labels Bug
Assignee @spevans
Priority Medium

md5: 34d0171c29b1565b04cf0c2eb5747870

Issue Description:

On 5.1 on Linux, Thread.name (try Thread.current.name) returns an empty String 🙁.

NIO programs for example give all the EventLoop threads as well as the IO thread pool threads a name but you can't retrieve that through Foundation.

See

@beccadax
Copy link
Contributor

beccadax commented Nov 7, 2019

@millenomi

@spevans
Copy link
Collaborator

spevans commented Mar 4, 2020

#2715

@weissi
Copy link
Member Author

weissi commented Jan 4, 2022

Thank you, I can confirm this is fixed .

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 5, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants