Callisto Engine
cl::threading::init_threading_params Struct Reference

Init params for the threading module. More...

#include <init_threading_params.h>

Collaboration diagram for cl::threading::init_threading_params:

Public Attributes

unsigned int thread_count {0}
 Total thread count. Must be > 0.
 
void * thread_memory {nullptr}
 The memory for all thread workers. Assumed to be thread_count*thread_memory in size. Cannot be null.
 
threading::schedulerscheduler {nullptr}
 A scheduler algorithm, implementing cl::threading::scheduler. Cannot be null.
 

Static Public Attributes

static constexpr size_t size_per_thread = sizeof (async_worker)
 A constant describing the size in bytes a single worker thread needs for allocation.
 

Detailed Description

Init params for the threading module.


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