-
Hi. Standard threads can be named (https://doc.rust-lang.org/std/thread/#configuring-threads) which is very handy especially when monitoring (eg using htop) because every single thread can be named and monitored individually. I know that I can set it for the whole pool when creating runtime with |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Tokio does not spawn a new thread for every task, so the name of a thread cannot be task-specific. |
Beta Was this translation helpful? Give feedback.
-
@Darksonn I meant this for threaded_scheduler() only |
Beta Was this translation helpful? Give feedback.
-
is it possible to set a name for the task so that the task name is visible in https://github.com/tokio-rs/console >? |
Beta Was this translation helpful? Give feedback.
Tokio does not spawn a new thread for every task, so the name of a thread cannot be task-specific.