Base class: Object
This class provides an interface for creating multithreaded applications. The Lua engine already uses extensive multithreading, and you generally do not need to use these commands yourself, but they are available for advanced programmers.
Property | Type | Description |
---|---|---|
GetResult | Method | returns the thread result |
GetState | Method | returns the current thread state |
Start | Method | begins thread execution |
Wait | Method | waits for the thread to complete execution |
Function | Description |
---|---|
CreateThread | creates a new thread |
MaxThreads | returns the number of simultaneous threads the CPU can execute |
Note: shared_ptr type is not supported in Lua.