Enumerations used in the threading system.
enum CryLockType { CRYLOCK_FAST = 1, CRYLOCK_RECURSIVE = 2 };
CryThread.h
Lock types:
CRYLOCK_FAST A fast potentially (non-recursive) mutex. CRYLOCK_RECURSIVE A recursive mutex.
enum EThreadTaskFlags { THREAD_TASK_BLOCKING = BIT(0), THREAD_TASK_ASSIGN_TO_POOL = BIT(1) };
IThreadTask.h
Members |
Description |
THREAD_TASK_BLOCKING = BIT(0) |
Blocking tasks will be allocated on their own thread. |
THREAD_TASK_ASSIGN_TO_POOL = BIT(1) |
Task can be assigned to any thread in the group of threads |