Function std::thread::current [−] [src]

pub fn current() -> Thread
1.0.0

Gets a handle to the thread that invokes it.