Struct thread_control::Control [] [src]

pub struct Control {
    // some fields omitted
}

Struct to control thread execution.

Methods

impl Control
[src]

Interrupt execution of thread. Actually it panics when thread checking flag.

Set stop flag.

Return true if thread ended.

Return true if thread was interrupted or panicked.