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

pub fn current() -> Thread

Gets a handle to the thread that invokes it.