Tomographer  v5.4
Tomographer C++ Framework Documentation
multiprocthreadcommon.h File Reference

(v5.4)

Basic multiprocessing templates for thread-based Tomographer::MultiProc implementations. More...

#include <chrono>
#include <stdexcept>
#include <boost/exception/diagnostic_information.hpp>
#include <tomographer/tools/loggers.h>
#include <tomographer/tools/cxxutil.h>
#include <tomographer/tools/needownoperatornew.h>
#include <tomographer/multiproc.h>
#include <thread>
+ Include dependency graph for multiprocthreadcommon.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Tomographer::MultiProc::ThreadCommon::TaskDispatcherBase< TaskType_, TaskCountIntType_ >
 Provide common functionality to thread-based MultiProc implementations. More...
 
struct  Tomographer::MultiProc::ThreadCommon::TaskDispatcherBase< TaskType_, TaskCountIntType_ >::TaskInterruptedInnerException
 
struct  Tomographer::MultiProc::ThreadCommon::TaskDispatcherBase< TaskType_, TaskCountIntType_ >::ThreadSharedData< TaskCData, LoggerType >
 thread-shared variables More...
 
struct  Tomographer::MultiProc::ThreadCommon::TaskDispatcherBase< TaskType_, TaskCountIntType_ >::ThreadSharedData< TaskCData, LoggerType >::Schedule
 
struct  Tomographer::MultiProc::ThreadCommon::TaskDispatcherBase< TaskType_, TaskCountIntType_ >::ThreadSharedData< TaskCData, LoggerType >::StatusReport
 
struct  Tomographer::MultiProc::ThreadCommon::TaskDispatcherBase< TaskType_, TaskCountIntType_ >::ThreadPrivateData< ThreadSharedDataType, TaskLocalLoggerType, CriticalExecutionLocker >
 thread-local variables and stuff — also serves as TaskManagerIface More...
 

Namespaces

 Tomographer
 Base namespace for the Tomographer project.
 
 Tomographer::MultiProc
 Definitions for multi-processing classes and helpers.
 
 Tomographer::MultiProc::ThreadCommon
 Common definitions for thread-based MultiProc implementations.
 

Macros

#define TOMOGRAPHER_SLEEP_FOR_MS(x)   std::this_thread::sleep_for(std::chrono::milliseconds((x)))
 

Detailed Description

Basic multiprocessing templates for thread-based Tomographer::MultiProc implementations.

See Tomographer::MultiProc::ThreadCommon, as well as the specific implementations Tomographer::MultiProc::CxxThreads and Tomographer::MultiProc::OMP.

Definition in file multiprocthreadcommon.h.