Base class: Object

Lua
C++
Edit

Thread

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.

Properties

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

Functions

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.

Copyright © 2024 Ultra Software.
All rights reserved.