Skip to main content

THREAD_NAME

Constant THREAD_NAME 

Source
pub const THREAD_NAME: &'static str;
Expand description

Current thread name.

§Notes

Examples of where the value can be extracted from:

Language or platformSource
JVMThread.currentThread().getName()
.NETThread.CurrentThread.Name
Pythonthreading.current_thread().name
RubyThread.current.name
Erlangerlang:process_info(self(), registered_name)

§Examples

  • "main"