Function std::thread::current1.0.0 [] [src]

pub fn current() -> Thread

Gets a handle to the thread that invokes it.