ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pMutex Class Reference

#include <online_distribution/blob/master/pmonitor/pMutex.h>

Public Member Functions

 pMutex (const int lockstatus=0)
 
virtual ~pMutex ()
 
virtual int Lock ()
 
virtual int tryLock ()
 
virtual int Release ()
 

Private Attributes

pthread_mutex_t M
 

Detailed Description

Definition at line 3 of file pMutex.h.

View newest version in sPHENIX GitHub at line 3 of file pMutex.h

Constructor & Destructor Documentation

pMutex::pMutex ( const int  lockstatus = 0)

Definition at line 3 of file pMutex.cc.

View newest version in sPHENIX GitHub at line 3 of file pMutex.cc

References M.

pMutex::~pMutex ( )
virtual

Definition at line 11 of file pMutex.cc.

View newest version in sPHENIX GitHub at line 11 of file pMutex.cc

References M.

Member Function Documentation

int pMutex::Lock ( )
virtual

Definition at line 19 of file pMutex.cc.

View newest version in sPHENIX GitHub at line 19 of file pMutex.cc

References M.

Referenced by pprocess(), and pwait().

+ Here is the caller graph for this function:

int pMutex::Release ( )
virtual

Definition at line 29 of file pMutex.cc.

View newest version in sPHENIX GitHub at line 29 of file pMutex.cc

References M.

Referenced by pprocess(), and pwait().

+ Here is the caller graph for this function:

int pMutex::tryLock ( )
virtual

Definition at line 24 of file pMutex.cc.

View newest version in sPHENIX GitHub at line 24 of file pMutex.cc

References M.

Member Data Documentation

pthread_mutex_t pMutex::M
private

Definition at line 16 of file pMutex.h.

View newest version in sPHENIX GitHub at line 16 of file pMutex.h

Referenced by Lock(), pMutex(), Release(), tryLock(), and ~pMutex().


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