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 *initializer)

Initializes the iterator with an aggregate PMC. Defaults iteration mode to iterate from start.

STRING *name()

Return the string "thread".

PMC *clone()

PMC *get_attr_str(STRING *key)

STRING *get_string()

non-Vtable Methods ^

INTVAL is_equal (PMC *value)

Specific Methods ^

PMC *rawequal (PMC *value)

AUTHORS ^

Francois Perrad


parrot