sq_getvmstate

Squirrel 3.0

sq_getvmstate

SQInteger sq_getvmstate(HSQUIRRELVM v);

returns the execution state of a virtual machine

parameters:
HSQUIRRELVM v

the target VM

return:

the state of the vm encoded as integer value. The following constants are defined: SQ_VMSTATE_IDLE, SQ_VMSTATE_RUNNING, SQ_VMSTATE_SUSPENDED.