Function loom::thread::current

source ยท
pub fn current() -> Thread
Expand description

Returns a handle to the current thread.