DABC (Data Acquisition Backbone Core)  2.9.9
Public Member Functions | Private Attributes
dabc::Thread::RecursionGuard Class Reference

#include <dabc/Thread.h>

Public Member Functions

 RecursionGuard (Thread *t, unsigned id)
 
 ~RecursionGuard ()
 

Private Attributes

Threadthrd
 we can use direct pointer, reference will be preserved by other means More...
 
unsigned workerid
 worker id which recursion is guarded More...
 

Detailed Description

Definition at line 115 of file Thread.h.

Constructor & Destructor Documentation

◆ RecursionGuard()

dabc::Thread::RecursionGuard::RecursionGuard ( Thread t,
unsigned  id 
)
inline

Definition at line 120 of file Thread.h.

◆ ~RecursionGuard()

dabc::Thread::RecursionGuard::~RecursionGuard ( )
inline

Definition at line 127 of file Thread.h.

Field Documentation

◆ thrd

Thread* dabc::Thread::RecursionGuard::thrd
private

we can use direct pointer, reference will be preserved by other means

Definition at line 117 of file Thread.h.

◆ workerid

unsigned dabc::Thread::RecursionGuard::workerid
private

worker id which recursion is guarded

Definition at line 118 of file Thread.h.


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