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

(v5.4)

Multiprocessing with native C++11 threads. More...

#include <chrono>
#include <stdexcept>
#include <algorithm>
#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 <tomographer/multiprocthreadcommon.h>
#include <thread>
#include <mutex>
+ Include dependency graph for multiprocthreads.h:

Go to the source code of this file.

Classes

class  Tomographer::MultiProc::CxxThreads::ThreadSanitizerLogger< BaseLogger >
 Wrapper logger to call non-thread-safe loggers from a multithreaded environment. More...
 
struct  Tomographer::Logger::LoggerTraits< MultiProc::CxxThreads::ThreadSanitizerLogger< BaseLogger > >
 Specialized Traits for Tomographer::MultiProc::OMP::ThreadSanitizerLogger<BaseLogger> – see Tomographer::Logger::LoggerTraits<LoggerType> More...
 
class  Tomographer::MultiProc::CxxThreads::TaskDispatcher< TaskType_, TaskCData_, LoggerType_, TaskCountIntType_ >
 Dispatches tasks to parallel threads using C++11 native threads. More...
 

Namespaces

 Tomographer
 Base namespace for the Tomographer project.
 
 Tomographer::MultiProc
 Definitions for multi-processing classes and helpers.
 
 Tomographer::MultiProc::CxxThreads
 Definitions for multitasking using C++ Threads.
 
 Tomographer::Logger
 Tomographer's Logging Framework
 

Functions

template<typename TaskType_ , typename TaskCData_ , typename LoggerType_ , typename TaskCountIntType_ = int>
TaskDispatcher< TaskType_, TaskCData_, LoggerType_, TaskCountIntType_ > Tomographer::MultiProc::CxxThreads::mkTaskDispatcher (TaskCData_ *pcdata_, LoggerType_ &logger_, TaskCountIntType_ num_total_runs_, int num_threads_=(int) std::thread::hardware_concurrency())
 

Detailed Description

Multiprocessing with native C++11 threads.

See Tomographer::MultiProc::CxxThreads.

Definition in file multiprocthreads.h.