Struct librsnek::system::thread::Greenlet [] [src]

struct Greenlet<'a> {
    yielder: &'a mut Yielder<(), i64>,
    func: SharedMainFnRef<'a>,
}

The greenlet is created by a GreenThread and represents a resumbale thread context

Fields

Trait Implementations

impl<'a> Thread<'a> for Greenlet<'a>
[src]

Do the necessary things in order to initialize the thread

Start the execution of the thread