|
Moai SDK
1.5 revision 1 (MoaiEdition)
|
Function List | |
| blockOnAction | |
| currentThread | |
| run | |
Skip updating current thread until the specified action is no longer busy. A little more efficient than spinlocking from Lua.
function blockOnAction ( MOAIAction blocker )
| blocker | ( MOAIAction ) |
Returns the currently running thread (if any).
function currentThread ()
Starts a thread with a function and passes parameters to it.
function run ( MOAICoroutine self, function threadFunc, ... )
| self | ( MOAICoroutine ) |
| threadFunc | ( function ) |
| ( | ... ) parameters |