#include <TPosixMutex.h>
Inheritance diagram for TPosixMutex:
Public Member Functions | |
TPosixMutex (Bool_t recursive=kFALSE) | |
virtual | ~TPosixMutex () |
Int_t | Lock () |
Int_t | UnLock () |
Int_t | TryLock () |
TPosixMutex (Bool_t recursive=kFALSE) | |
virtual | ~TPosixMutex () |
Int_t | Lock () |
Int_t | UnLock () |
Int_t | TryLock () |
Private Attributes | |
pthread_mutex_t | fMutex |
Friends | |
class | TPosixCondition |
Definition at line 34 of file TPosixMutex.h.
TPosixMutex::~TPosixMutex | ( | ) | [virtual] |
Definition at line 61 of file TPosixMutex.cxx.
References fMutex, pthread_mutex_destroy(), and TObject::SysError().
virtual TPosixMutex::~TPosixMutex | ( | ) | [virtual] |
Int_t TPosixMutex::Lock | ( | ) | [virtual] |
Implements TMutexImp.
Definition at line 71 of file TPosixMutex.cxx.
References fMutex, and pthread_mutex_lock().
Int_t TPosixMutex::UnLock | ( | ) | [virtual] |
Implements TMutexImp.
Definition at line 87 of file TPosixMutex.cxx.
References fMutex, and pthread_mutex_unlock().
Int_t TPosixMutex::TryLock | ( | ) | [virtual] |
Implements TMutexImp.
Definition at line 79 of file TPosixMutex.cxx.
References fMutex, and pthread_mutex_trylock().
TPosixCondition [friend] |
Definition at line 36 of file TPosixMutex.h.
pthread_mutex_t TPosixMutex::fMutex [private] |
Definition at line 39 of file TPosixMutex.h.
Referenced by Lock(), TPosixCondition::TimedWait(), TryLock(), UnLock(), TPosixCondition::Wait(), and ~TPosixMutex().