Games Task Scheduler (GTS)
A multi-processor scheduling framework for games engines
gts::WorkerThreadDesc Struct Reference

The description of a worker Thread. More...

#include <MicroSchedulerTypes.h>

Classes

struct  GroupAndAffinity
 

Public Attributes

void * pUserData = nullptr
 Worker local user data to be passed to executing Tasks via TaskContext.
 
WorkerThreadDesc::GroupAndAffinity affinity
 Specifies the thread affinity for each processor group. See gts::Thread::getSystemTopology to identify affinities within a group.
 
Thread::Priority priority = Thread::Priority::PRIORITY_NORMAL
 The priority at with the thread is scheduled by the OS.
 
uint32_t stackSize = Thread::DEFAULT_STACK_SIZE
 The thread's stack frame size.
 
char name [DESC_NAME_SIZE] = { 0 }
 The thread's name.
 

Detailed Description

The description of a worker Thread.