NAME ^

classes/luathread.pmc - Lua Thread

DESCRIPTION ^

LuaThread extends Parrot Coroutine to provide a class with the behaviour of the Lua Thread type.

Overloaded Methods ^

STRING *name()

Return the string "thread".

STRING *get_string()

INTVAL get_bool()

In Lua, both nil and false make a condition false; any other values makes it true.

So return always true.

PMC logical_not(PMC *dest)

Return always false.

Specific Methods ^

PMC *rawequal (PMC *value)

PMC *tonumber()

PMC *tostring()

AUTHORS ^

Francois Perrad


parrot