Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pMutex.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file pMutex.h
1 #include <pthread.h>
2 
3 class pMutex { //++CINT
4 
5  public:
6 
7  pMutex(const int lockstatus = 0);
8  virtual ~pMutex();
9 
10  virtual int Lock();
11  virtual int tryLock();
12  virtual int Release();
13 
14  private:
15 
16  pthread_mutex_t M;
17 
18 
19 };