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§