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:
@@ -38,7 +38,7 @@ impl ProcMacroProcessSrv {
|
||||
|
||||
let (task_tx, task_rx) = bounded(0);
|
||||
let handle = jod_thread::Builder::new()
|
||||
.name("ProcMacroClientThread".to_owned())
|
||||
.name("ProcMacroClient".to_owned())
|
||||
.spawn(move || {
|
||||
client_loop(task_rx, process);
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user