Module Thread
- Description
This module contains classes and functions for interacting and synchronizing with threads.
- Note
For convenience some of the classes here are emulated (and are thus available) when threads are not supported.
Some of the classes that have such fallbacks are: Condition, Fifo, Local, Mutex, MutexKey and Queue.
- See also
- Constant
MUTEX_SUPPORTS_SHARED_LOCKS
constantThread.MUTEX_SUPPORTS_SHARED_LOCKS- Description
Recognition constant for support of shared locks.
If this symbol exists and is not
0then the Mutex class supports shared locks (ie has Mutex()->shared_lock() et al).
- Constant
THREAD_ABORTED
constantThread.THREAD_ABORTED- Description
Thread state: The thread has terminated by throwing an uncaught error.
- See also
- Constant
THREAD_EXITED
constantThread.THREAD_EXITED- Description
Thread state: The thread has terminated by returning a value from the thread function.
- See also
- Constant
THREAD_NOT_STARTED
constantThread.THREAD_NOT_STARTED- Description
Thread state: The thread has not yet started executing.
- See also