Threading_Enums

Enumerations used in the threading system.

CryLockType Enumeration
C++
enum CryLockType {
  CRYLOCK_FAST = 1,
  CRYLOCK_RECURSIVE = 2
};
File

CryThread.h

Description

Lock types:

CRYLOCK_FAST A fast potentially (non-recursive) mutex. CRYLOCK_RECURSIVE A recursive mutex.

EThreadTaskFlags Enumeration
C++
enum EThreadTaskFlags {
  THREAD_TASK_BLOCKING = BIT(0),
  THREAD_TASK_ASSIGN_TO_POOL = BIT(1)
};
File

IThreadTask.h

Members
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