Logo ROOT   6.16/01
Reference Guide
Classes | Macros | Typedefs
TMCAutoLock.h File Reference
#include <pthread.h>
Include dependency graph for TMCAutoLock.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  TMCImpMutexAutoLock
 Realization of TMCTemplateAutoLock with TMCMutex. More...
 
class  TMCTemplateAutoLock< M, L, U >
 Template classe which provides a mechanism to create a mutex and locks/unlocks it. More...
 

Macros

#define TMCMULTITHREADED   1
 
#define TMCMUTEX_INITIALIZER   PTHREAD_MUTEX_INITIALIZER
 
#define TMCMUTEXLOCK   pthread_mutex_lock
 
#define TMCMUTEXUNLOCK   pthread_mutex_unlock
 

Typedefs

typedef TMCImpMutexAutoLock TMCAutoLock
 
typedef pthread_mutex_t TMCMutex
 
typedef int(* TMCthread_lock) (TMCMutex *)
 
typedef int(* TMCthread_unlock) (TMCMutex *)
 

Detailed Description

Definition of the TMCTemplateAutoLock and TMCImpMutexAutoLock classes.

Author
I. Hrivnacova; IPN Orsay

Definition in file TMCAutoLock.h.

Macro Definition Documentation

◆ TMCMULTITHREADED

#define TMCMULTITHREADED   1

Definition at line 88 of file TMCAutoLock.h.

◆ TMCMUTEX_INITIALIZER

#define TMCMUTEX_INITIALIZER   PTHREAD_MUTEX_INITIALIZER

Definition at line 95 of file TMCAutoLock.h.

◆ TMCMUTEXLOCK

#define TMCMUTEXLOCK   pthread_mutex_lock

Definition at line 96 of file TMCAutoLock.h.

◆ TMCMUTEXUNLOCK

#define TMCMUTEXUNLOCK   pthread_mutex_unlock

Definition at line 97 of file TMCAutoLock.h.

Typedef Documentation

◆ TMCAutoLock

Definition at line 161 of file TMCAutoLock.h.

◆ TMCMutex

typedef pthread_mutex_t TMCMutex

Definition at line 94 of file TMCAutoLock.h.

◆ TMCthread_lock

typedef int(* TMCthread_lock) (TMCMutex *)

Definition at line 98 of file TMCAutoLock.h.

◆ TMCthread_unlock

typedef int(* TMCthread_unlock) (TMCMutex *)

Definition at line 99 of file TMCAutoLock.h.