ROOTANA
Public Member Functions | Data Fields | Static Public Attributes
TAMultithreadHelper Class Reference

#include <manalyzer.h>

Collaboration diagram for TAMultithreadHelper:
Collaboration graph
[legend]

Public Member Functions

 TAMultithreadHelper (int nModules)
 
 ~TAMultithreadHelper ()
 
 TAMultithreadHelper (int nModules)
 
 ~TAMultithreadHelper ()
 

Data Fields

std::vector< std::mutex > fMtFlowQueueMutex
 
std::vector< TAFlowEventQueuefMtFlowQueue
 
std::vector< TAFlagsQueuefMtFlagQueue
 
std::vector< std::thread * > fMtThreads
 
std::vector< std::atomic< bool > > fMtThreadIsRunning
 
std::vector< std::atomic< bool > > fMtThreadIsBusy
 
std::atomic< bool > fMtShutdownRequested
 
std::atomic< bool > fMtQuitRequested
 
int fMtQueueDepth = 0
 
int fMtQueueFullUSleepTime = 0
 
int fMtQueueEmptyUSleepTime = 0
 

Static Public Attributes

static bool gfMultithread = false
 
static int gfMtMaxBacklog = 100
 
static std::mutex gfLock
 

Detailed Description

Definition at line 171 of file manalyzer.h.

Constructor & Destructor Documentation

◆ TAMultithreadHelper() [1/2]

TAMultithreadHelper::TAMultithreadHelper ( int  nModules)

Definition at line 391 of file manalyzer.cxx.

◆ ~TAMultithreadHelper() [1/2]

TAMultithreadHelper::~TAMultithreadHelper ( )

Definition at line 411 of file manalyzer.cxx.

Here is the call graph for this function:

◆ TAMultithreadHelper() [2/2]

TAMultithreadHelper::TAMultithreadHelper ( int  nModules)

◆ ~TAMultithreadHelper() [2/2]

TAMultithreadHelper::~TAMultithreadHelper ( )

Field Documentation

◆ fMtFlagQueue

std::vector< TAFlagsQueue > TAMultithreadHelper::fMtFlagQueue

Definition at line 176 of file manalyzer.h.

◆ fMtFlowQueue

std::vector< TAFlowEventQueue > TAMultithreadHelper::fMtFlowQueue

Definition at line 175 of file manalyzer.h.

◆ fMtFlowQueueMutex

std::vector< std::mutex > TAMultithreadHelper::fMtFlowQueueMutex

Definition at line 174 of file manalyzer.h.

◆ fMtQueueDepth

int TAMultithreadHelper::fMtQueueDepth = 0

Definition at line 186 of file manalyzer.h.

◆ fMtQueueEmptyUSleepTime

int TAMultithreadHelper::fMtQueueEmptyUSleepTime = 0

Definition at line 188 of file manalyzer.h.

◆ fMtQueueFullUSleepTime

int TAMultithreadHelper::fMtQueueFullUSleepTime = 0

Definition at line 187 of file manalyzer.h.

◆ fMtQuitRequested

std::atomic< bool > TAMultithreadHelper::fMtQuitRequested

Definition at line 183 of file manalyzer.h.

◆ fMtShutdownRequested

std::atomic< bool > TAMultithreadHelper::fMtShutdownRequested

Definition at line 182 of file manalyzer.h.

◆ fMtThreadIsBusy

std::vector< std::atomic< bool > > TAMultithreadHelper::fMtThreadIsBusy

Definition at line 179 of file manalyzer.h.

◆ fMtThreadIsRunning

std::vector< std::atomic< bool > > TAMultithreadHelper::fMtThreadIsRunning

Definition at line 178 of file manalyzer.h.

◆ fMtThreads

std::vector< std::thread * > TAMultithreadHelper::fMtThreads

Definition at line 177 of file manalyzer.h.

◆ gfLock

static std::mutex TAMultithreadHelper::gfLock
static

Definition at line 193 of file manalyzer.h.

◆ gfMtMaxBacklog

static int TAMultithreadHelper::gfMtMaxBacklog = 100
static

Definition at line 192 of file manalyzer.h.

◆ gfMultithread

static bool TAMultithreadHelper::gfMultithread = false
static

Definition at line 191 of file manalyzer.h.


The documentation for this class was generated from the following files: