logo
pub fn current_thread(with_stack: bool) -> Thread
Expand description

Captures information about the current thread.

If with_stack is set to true the current stacktrace is attached.