Struct std::thread::Thread
[−]
[src]
pub struct Thread { // some fields omitted }1.0.0
A handle to a thread.
Methods
impl Thread
fn unpark(&self)
Atomically makes the handle's token available if it is not already.
See the module doc for more detail.
fn name(&self) -> Option<&str>
Gets the thread's name.