kcl_lib::thread

Trait Thread

Source
pub trait Thread {
    // Required methods
    fn abort(&self);
    fn is_finished(&self) -> bool;
}

Required Methods§

Source

fn abort(&self)

Abort a thread.

Source

fn is_finished(&self) -> bool

Check if a thread is finished.

Implementors§