Skip to content

Name threads#7879

Merged
rgwood merged 1 commit intonushell:mainfrom
rgwood:thread-names
Jan 28, 2023
Merged

Name threads#7879
rgwood merged 1 commit intonushell:mainfrom
rgwood:thread-names

Conversation

@rgwood
Copy link
Copy Markdown
Contributor

@rgwood rgwood commented Jan 27, 2023

I noticed that it's pretty easy to name threads in Rust. We might as well do this; it's a nice quality of life improvement when you're profiling something and the developers took the time to give threads names.

Also added/cleaned up some comments while I was in the area.

@rgwood rgwood merged commit f4d7d19 into nushell:main Jan 28, 2023
Xoffio pushed a commit to Xoffio/nushell that referenced this pull request Feb 7, 2023
I noticed that [it's pretty easy to name threads in
Rust](https://doc.rust-lang.org/std/thread/#naming-threads). We might as
well do this; it's a nice quality of life improvement when you're
profiling something and the developers took the time to give threads
names.

Also added/cleaned up some comments while I was in the area.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant