Trait librsnek::system::Thread [] [src]

pub trait Thread<'a> {
    fn start(&self, rt: &Runtime) -> i64;
    fn run<'b>(&self, rt: &'b Runtime) -> i64;
}

Thread lifecycle traits

Required Methods

Do the necessary things in order to initialize the thread

Start the execution of the thread

Implementors