Geant4 11.3.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
PTL::ThreadPool::Config Struct Reference

#include <ThreadPool.hh>

Public Attributes

bool init = true
 
bool use_tbb = false
 
bool use_affinity = false
 
int verbose = 0
 
int priority = 0
 
size_type pool_size = f_default_pool_size()
 
VUserTaskQueuetask_queue = nullptr
 
affinity_func_t set_affinity = affinity_functor()
 
initialize_func_t initializer = initialization_functor()
 
finalize_func_t finalizer = finalization_functor()
 

Detailed Description

Definition at line 139 of file ThreadPool.hh.

Member Data Documentation

◆ finalizer

finalize_func_t PTL::ThreadPool::Config::finalizer = finalization_functor()

Definition at line 150 of file ThreadPool.hh.

◆ init

bool PTL::ThreadPool::Config::init = true

Definition at line 141 of file ThreadPool.hh.

Referenced by PTL::ThreadPool::ThreadPool().

◆ initializer

initialize_func_t PTL::ThreadPool::Config::initializer = initialization_functor()

Definition at line 149 of file ThreadPool.hh.

◆ pool_size

size_type PTL::ThreadPool::Config::pool_size = f_default_pool_size()

Definition at line 146 of file ThreadPool.hh.

Referenced by PTL::TaskRunManager::Initialize(), and PTL::ThreadPool::ThreadPool().

◆ priority

int PTL::ThreadPool::Config::priority = 0

Definition at line 145 of file ThreadPool.hh.

◆ set_affinity

affinity_func_t PTL::ThreadPool::Config::set_affinity = affinity_functor()

Definition at line 148 of file ThreadPool.hh.

◆ task_queue

VUserTaskQueue* PTL::ThreadPool::Config::task_queue = nullptr

Definition at line 147 of file ThreadPool.hh.

Referenced by PTL::TaskRunManager::Initialize().

◆ use_affinity

bool PTL::ThreadPool::Config::use_affinity = false

Definition at line 143 of file ThreadPool.hh.

◆ use_tbb

bool PTL::ThreadPool::Config::use_tbb = false

Definition at line 142 of file ThreadPool.hh.

Referenced by PTL::TaskRunManager::Initialize().

◆ verbose

int PTL::ThreadPool::Config::verbose = 0

Definition at line 144 of file ThreadPool.hh.


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