Thread
Category: Core
A unit of execution in a process.
- PRIORITY_LOW = 0
- PRIORITY_NORMAL = 1
A unit of execution in a process. Can run methods on s simultaneously. The use of synchronization via Mutex, is advised if working with shared objects.
- String get_id ( ) const
Returns the current s id, uniquely identifying it among all threads.
- is_active ( ) const
Starts a new that runs “method” on object “instance” with “userdata” passed as an argument. The “priority” of the Thread
can be changed by passing a PRIORITY_* enum.
Returns OK on success, or ERR_CANT_CREATE on failure.