zua.vm.std.coroutine

Undocumented in source.

Members

Functions

coroutinelib
Value coroutinelib()

Get coroutine library

getGlobalEnvPtr
TableValue* getGlobalEnvPtr()
Undocumented in source. Be warned that the author may not have intended to support it.
runToplevel
Value[] runToplevel(TableValue env, FunctionValue func, Value[] args)

Run a function in a toplevel thread

Structs

Context
struct Context

Represents a coroutine context

Variables

STACKSIZE
size_t STACKSIZE;

Coroutine stack size

Meta