mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
This patch shortens the spawned threads' names, as threads on Linux
have an upper limit of 16 characters for their names.
This commit is contained in:
parent
e44c56b616
commit
f5c9407a8f
4 changed files with 6 additions and 6 deletions
|
@ -32,7 +32,7 @@ impl loader::Handle for NotifyHandle {
|
|||
let actor = NotifyActor::new(sender);
|
||||
let (sender, receiver) = unbounded::<Message>();
|
||||
let thread = jod_thread::Builder::new()
|
||||
.name("LoaderThread".to_owned())
|
||||
.name("VfsLoader".to_owned())
|
||||
.spawn(move || actor.run(receiver))
|
||||
.expect("failed to spawn thread");
|
||||
NotifyHandle { sender, thread }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue