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:
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user