Logo ROOT   6.11/03
Reference Guide
Classes | Namespaces | Macros | Variables
TVirtualMutex.h File Reference
#include "TObject.h"
#include <memory>
Include dependency graph for TVirtualMutex.h:

Classes

struct  TVirtualMutex::State
 
class  TLockGuard
 
class  ROOT::TLockSuspend
 
class  TVirtualMutex
 This class implements a mutex interface. More...
 

Namespaces

 ROOT
 Namespace for new ROOT classes and functions.
 

Macros

#define R__LOCK_SUSPEND(mutex)   { }
 
#define R__LOCKGUARD(mutex)   (void)mutex; { }
 
#define R__LOCKGUARD2(mutex)   (void)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)   (void)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__LOCK_SUSPEND (   mutex)    { }

Definition at line 164 of file TVirtualMutex.h.

#define R__LOCKGUARD (   mutex)    (void)mutex; { }

Definition at line 160 of file TVirtualMutex.h.

#define R__LOCKGUARD2 (   mutex)    (void)mutex; { }

Definition at line 162 of file TVirtualMutex.h.

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

Definition at line 168 of file TVirtualMutex.h.

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

Definition at line 169 of file TVirtualMutex.h.

#define R__LOCKGUARD_NAMED (   name,
  mutex 
)    (void)mutex; { }

Definition at line 161 of file TVirtualMutex.h.

#define R__LOCKGUARD_UNLOCK (   name)    { }

Definition at line 163 of file TVirtualMutex.h.

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

Definition at line 176 of file TVirtualMutex.h.

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

Definition at line 178 of file TVirtualMutex.h.

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

Definition at line 177 of file TVirtualMutex.h.

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

Definition at line 179 of file TVirtualMutex.h.

Variable Documentation

R__EXTERN TVirtualMutex* gGlobalMutex

Definition at line 29 of file TVirtualMutex.h.