mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 22:31:43 +00:00
Give all threads names
This commit is contained in:
parent
9efa23c4da
commit
83a1ad5bfe
4 changed files with 31 additions and 29 deletions
|
@ -494,7 +494,7 @@ impl CommandHandle {
|
|||
let (sender, receiver) = unbounded();
|
||||
let actor = CargoActor::new(sender, stdout, stderr);
|
||||
let thread = stdx::thread::Builder::new(stdx::thread::ThreadIntent::Worker)
|
||||
.name("CargoHandle".to_owned())
|
||||
.name("CommandHandle".to_owned())
|
||||
.spawn(move || actor.run())
|
||||
.expect("failed to spawn thread");
|
||||
Ok(CommandHandle { program, arguments, current_dir, child, thread, receiver })
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue