Struct maidsafe_utilities::thread::Joiner [] [src]

pub struct Joiner {
    // some fields omitted
}

A RAII style thread joiner. The destruction of an instance of this type will block until the thread it is managing has joined.

Methods

impl Joiner
[src]

fn new(joiner: JoinHandle<()>) -> Joiner

Create a new instance of self-managing thread joiner

fn detach(self)

Releases the Joiner by detaching the thread.

Trait Implementations

impl Debug for Joiner
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Drop for Joiner
[src]

fn drop(&mut self)

A method called when the value goes out of scope. Read more