Logo ROOT   6.11/01
Reference Guide
Classes | Macros | Variables
TVirtualMutex.h File Reference
#include "TObject.h"
Include dependency graph for TVirtualMutex.h:

Classes

class  TLockGuard
 
class  TVirtualMutex
 This class implements a mutex interface. More...
 

Macros

#define R__LOCKGUARD(mutex)   if (mutex) { }
 
#define R__LOCKGUARD2(mutex)   if (mutex) { }
 
#define R__LOCKGUARD_IMT(mutex)   if (ROOT::Internal::IsParBranchProcessingEnabled()) R__LOCKGUARD(mutex)
 
#define R__LOCKGUARD_IMT2(mutex)   if (ROOT::Internal::IsParBranchProcessingEnabled()) R__LOCKGUARD2(mutex)
 
#define R__LOCKGUARD_NAMED(name, mutex)   if (mutex) { }
 
#define R__LOCKGUARD_UNLOCK(name)   { }
 
#define R__RWLOCK_ACQUIRE_READ(rwlock)   if (ROOT::Internal::IsParTreeProcessingEnabled()) rwlock.ReadLock();
 
#define R__RWLOCK_ACQUIRE_WRITE(rwlock)   if (ROOT::Internal::IsParTreeProcessingEnabled()) rwlock.WriteLock();
 
#define R__RWLOCK_RELEASE_READ(rwlock)   if (ROOT::Internal::IsParTreeProcessingEnabled()) rwlock.ReadUnLock();
 
#define R__RWLOCK_RELEASE_WRITE(rwlock)   if (ROOT::Internal::IsParTreeProcessingEnabled()) rwlock.WriteUnLock();
 

Variables

R__EXTERN TVirtualMutexgGlobalMutex
 

Macro Definition Documentation

#define R__LOCKGUARD (   mutex)    if (mutex) { }

Definition at line 104 of file TVirtualMutex.h.

#define R__LOCKGUARD2 (   mutex)    if (mutex) { }

Definition at line 106 of file TVirtualMutex.h.

#define R__LOCKGUARD_IMT (   mutex)    if (ROOT::Internal::IsParBranchProcessingEnabled()) R__LOCKGUARD(mutex)

Definition at line 111 of file TVirtualMutex.h.

#define R__LOCKGUARD_IMT2 (   mutex)    if (ROOT::Internal::IsParBranchProcessingEnabled()) R__LOCKGUARD2(mutex)

Definition at line 112 of file TVirtualMutex.h.

#define R__LOCKGUARD_NAMED (   name,
  mutex 
)    if (mutex) { }

Definition at line 105 of file TVirtualMutex.h.

#define R__LOCKGUARD_UNLOCK (   name)    { }

Definition at line 107 of file TVirtualMutex.h.

#define R__RWLOCK_ACQUIRE_READ (   rwlock)    if (ROOT::Internal::IsParTreeProcessingEnabled()) rwlock.ReadLock();

Definition at line 119 of file TVirtualMutex.h.

#define R__RWLOCK_ACQUIRE_WRITE (   rwlock)    if (ROOT::Internal::IsParTreeProcessingEnabled()) rwlock.WriteLock();

Definition at line 121 of file TVirtualMutex.h.

#define R__RWLOCK_RELEASE_READ (   rwlock)    if (ROOT::Internal::IsParTreeProcessingEnabled()) rwlock.ReadUnLock();

Definition at line 120 of file TVirtualMutex.h.

#define R__RWLOCK_RELEASE_WRITE (   rwlock)    if (ROOT::Internal::IsParTreeProcessingEnabled()) rwlock.WriteUnLock();

Definition at line 122 of file TVirtualMutex.h.

Variable Documentation

R__EXTERN TVirtualMutex* gGlobalMutex

Definition at line 27 of file TVirtualMutex.h.