Tomographer  v1.0a
Tomographer C++ Framework Documentation
multiprocomp.h File Reference

(v1.0a)

Multiprocessing with OpenMP parallel multithreading. More...

#include <csignal>
+ Include dependency graph for multiprocomp.h:

Go to the source code of this file.

Classes

class  Tomographer::MultiProc::OMP::ThreadSanitizerLogger< BaseLogger >
 Wrapper logger to call non-thread-safe loggers from a multithreaded environment. More...
 
struct  Tomographer::Logger::LoggerTraits< MultiProc::OMP::ThreadSanitizerLogger< BaseLogger > >
 Specialized Traits for Tomographer::MultiProc::OMP::ThreadSanitizerLogger<typename BaseLogger> – see Tomographer::Logger::LoggerTraits<typename LoggerType> More...
 
struct  Tomographer::MultiProc::OMP::FullStatusReport< TaskStatusReportType >
 A complete status report of currently running threads. More...
 
class  Tomographer::MultiProc::OMP::TaskDispatcher< Task_, ConstantDataType_, ResultsCollector_, Logger_, CountIntType_, TaskLogger_ >
 Dispatches tasks to parallel threads using OpenMP. More...
 

Namespaces

 Tomographer
 Base namespace for the Tomographer project.
 
 Tomographer::MultiProc
 Definitions for multi-processing classes and helpers.
 
 Tomographer::MultiProc::OMP
 Definitions for multitasking using OpenMP multithreading.
 
 Tomographer::Logger
 Tomographer's Logging Framework
 

Functions

constexpr int omp_get_thread_num ()
 
constexpr int omp_get_num_threads ()
 
template<typename Task_ , typename ConstantDataType_ , typename ResultsCollector_ , typename Logger_ , typename CountIntType_ = unsigned int>
TaskDispatcher< Task_, ConstantDataType_, ResultsCollector_, Logger_, CountIntType_ > Tomographer::MultiProc::OMP::makeTaskDispatcher (ConstantDataType_ *pcdata_, ResultsCollector_ *results_, Logger_ &logger_, CountIntType_ num_total_runs_, CountIntType_ n_chunk_)
 Create an OMP task dispatcher. Useful if you want C++'s template parameter deduction mechanism. More...
 

Detailed Description

Multiprocessing with OpenMP parallel multithreading.

See Tomographer::MultiProc::OMP.

Definition in file multiprocomp.h.