Struct cernan::thread::ThreadHandle [] [src]

pub struct ThreadHandle {
    pub handle: JoinHandle<()>,
    // some fields omitted
}

Mio enabled thread state.

Fields

JoinHandle for the executing thread.

Trait Implementations

impl Stoppable for ThreadHandle
[src]

[src]

Join the given Thread, blocking until it exits.

[src]

Gracefully shutdown the given Thread, blocking until it exists.

Note - It is the responsability of the developer to ensure that thread logic polls for events occuring on the SYSTEM token.

Auto Trait Implementations

impl Send for ThreadHandle

impl Sync for ThreadHandle