Open 3D Engine AzCore API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZStd::thread_desc Struct Reference

Public Attributes

const char * m_name { "AZStd::thread" }
 Debug thread name. Limited to 16 characters on Linux.
 
int m_stackSize { -1 }
 Thread stack size. Default is -1, which means we will use the default stack size for each platform.
 
int m_priority { -100000 }
 
int m_cpuId { AFFINITY_MASK_ALL }
 
bool m_isJoinable { true }
 If we can join the thread.
 

Member Data Documentation

◆ m_cpuId

int AZStd::thread_desc::m_cpuId { AFFINITY_MASK_ALL }

The CPU ids (as a bitfield) that this thread will be running on, see AZStd::thread_desc::m_cpuId. Each bit maps directly to the core numbers [0-n], default is 0

◆ m_priority

int AZStd::thread_desc::m_priority { -100000 }

Windows: One of the following values: THREAD_PRIORITY_IDLE THREAD_PRIORITY_LOWEST THREAD_PRIORITY_BELOW_NORMAL THREAD_PRIORITY_NORMAL (This is the default) THREAD_PRIORITY_ABOVE_NORMAL THREAD_PRIORITY_TIME_CRITICAL

UnixLike platforms inherit calling thread priority by default, see platform specific implementations for more details


The documentation for this struct was generated from the following file: