Tomographer  v4.0
Tomographer C++ Framework Documentation
Tomographer::MultiProc::OMP Namespace Reference

Definitions for multitasking using OpenMP multithreading. More...

Classes

class  TaskDispatcher
 Dispatches tasks to parallel threads using OpenMP. More...
 
class  ThreadSanitizerLogger
 Wrapper logger to call non-thread-safe loggers from a multithreaded environment. More...
 

Functions

template<typename TaskType_ , typename TaskCData_ , typename ResultsCollector_ , typename LoggerType_ , typename CountIntType_ = int>
TaskDispatcher< TaskType_, TaskCData_, ResultsCollector_, LoggerType_, CountIntType_ > makeTaskDispatcher (TaskCData_ *pcdata_, ResultsCollector_ *results_, LoggerType_ &logger_, CountIntType_ num_total_runs_, CountIntType_ n_chunk_=1)
 Create an OMP task dispatcher. Useful if you want C++'s template argument deduction mechanism.
 

Detailed Description

Definitions for multitasking using OpenMP multithreading.