Struct thread_control::Flag
[−]
[src]
pub struct Flag {
// some fields omitted
}Struct to check execution status of spawned thread.
Methods
impl Flag[src]
fn new() -> Self
Creates new flag.
fn take_control(&self) -> Control
Creates new Control to control this flag.
fn alive(&self) -> bool
Check the flag isn't stopped or interrupted.