Trait librsnek::system::thread::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
fn start(&self, rt: &Runtime) -> i64
Do the necessary things in order to initialize the thread
fn run<'b>(&self, rt: &'b Runtime) -> i64
Start the execution of the thread
Implementors
impl<'a> Thread<'a> for Pthread<'a>impl<'a> Thread<'a> for GreenThread<'a>impl<'a> Thread<'a> for Greenlet<'a>