Struct std::thread::Thread
[−]
[src]
pub struct Thread { // some fields omitted }
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.