NAME ^

pmc/luathread.pmc - Lua Thread

DESCRIPTION ^

LuaThread extends LuaAny to provide a class with the behaviour of the Lua Thread type. This implementation is based on Parrot::Coroutine.

Overloaded Methods ^

void init()

Raises an exception. Use init_pmc().

void init_pmc(PMC *sub)

void mark()

Marks the Parrot::Coroutine as live.

STRING *name()

Return the string "thread".

PMC *clone()

PMC *get_attr_str(STRING *key)

STRING *get_string()

void set_pmc(PMC *value)

non-Vtable Methods ^

INTVAL is_equal(PMC *value)

Specific Methods ^

PMC *rawequal(PMC *value)

AUTHORS ^

Francois Perrad


parrot