Definition at line 30 of file TMutex.h.
#include <TMutex.h>
◆ TMutex() [1/2]
TMutex::TMutex |
( |
const TMutex & |
| ) |
|
|
privatedelete |
◆ TMutex() [2/2]
Create a mutex lock.
The actual mutex implementation will be provided via the TThreadFactory.
Definition at line 34 of file TMutex.cxx.
◆ ~TMutex()
virtual TMutex::~TMutex |
( |
| ) |
|
|
inlinevirtual |
◆ Class()
static TClass * TMutex::Class |
( |
| ) |
|
|
static |
- Returns
- TClass describing this class
◆ Class_Name()
static const char * TMutex::Class_Name |
( |
| ) |
|
|
static |
- Returns
- Name of this class
◆ Class_Version()
static constexpr Version_t TMutex::Class_Version |
( |
| ) |
|
|
inlinestaticconstexpr |
- Returns
- Version of this class
Definition at line 56 of file TMutex.h.
◆ CleanUp()
Int_t TMutex::CleanUp |
( |
| ) |
|
|
overridevirtual |
◆ DeclFileName()
static const char * TMutex::DeclFileName |
( |
| ) |
|
|
inlinestatic |
- Returns
- Name of the file containing the class declaration
Definition at line 56 of file TMutex.h.
◆ Factory()
Create mutex and return pointer to it.
Calling function must care about proper deletion. The function is intended to be used in connection with the R__LOCKGUARD2 macro for local thread protection. Since "new" is used the TStorage class has to be protected by gGlobalMutex.
Implements TVirtualMutex.
Definition at line 87 of file TMutex.cxx.
◆ IsA()
TClass * TMutex::IsA |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ lock()
◆ Lock()
Lock the mutex.
Returns 0 when no error, EDEADLK when mutex was already locked by this thread and this mutex is not reentrant.
Implements TVirtualMutex.
Definition at line 46 of file TMutex.cxx.
◆ operator=()
◆ Streamer()
void TMutex::Streamer |
( |
TBuffer & |
| ) |
|
|
overridevirtual |
◆ StreamerNVirtual()
void TMutex::StreamerNVirtual |
( |
TBuffer & |
ClassDef_StreamerNVirtual_b | ) |
|
|
inline |
◆ TryLock()
Int_t TMutex::TryLock |
( |
| ) |
|
|
overridevirtual |
Try to lock mutex.
Returns 0 when no error, EDEADLK when mutex was already locked by this thread and this mutex is not reentrant.
Implements TVirtualMutex.
Definition at line 57 of file TMutex.cxx.
◆ unlock()
◆ UnLock()
Unlock the mutex.
Returns 0 when no error, EPERM when mutex was already unlocked by this thread.
Implements TVirtualMutex.
Definition at line 68 of file TMutex.cxx.
◆ TCondition
◆ TThread
◆ fMutexImp
The documentation for this class was generated from the following files: