Function std::thread::currentStable [-] [+] [src]

pub fn current() -> Thread

Gets a handle to the thread that invokes it.