The interface below provide access subsystem that controls the Lua virtual machine which is managing the co-routines (LvmThread) for all Script and Utility of your application.
See Also
Static Variables
Name | Description |
lvmthread_count | Total amount of LvmThread maintained by the virtual machine. |
Declaration unsigned int lvmthread_count
|
output | Stream that contains the latest Lvm output. |
Declaration
|
Variables
Name | Description |
revision | Current revision of the virtual machine. |
Declaration - Note
- The revision number increases each time a Script or Utility is compiled as well as if an error or exception occurred. In addition changing the revision manually will force the code editor to update to the latest Lvm output.
|
Functions
Name | Description |
GetMemUsage | Retrieve the total amount of memory in bytes used by the virtual machine. |
Declaration unsigned int GetMemUsage( void )
|
GetThread | Retrieve a specific LvmThread reference by name (uid). |
Declaration LvmThread *GetThread( const char *name ) Parameters
Return Value
nil if no LvmThread managed by the virtual machine matches the name received in parameter; else return the thread reference.
|
GetThreadAt | Retrieve a specific LvmThread by index. |
Declaration LvmThread *GetThreadAt( unsigned int index ) Parameters
Return Value
nil if the index is out of range; else return the reference to the associated LvmThread.
|
GetThreadIndex | Helper that retrieve the internal index of a out of a LvmThread reference. |
Declaration int GetThreadIndex( const LvmThread *lvmthread ) Parameters
Return Value
-1 if no thread matched the reference received in parameter; else return its internal index.
|