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.