CernVM-FS  2.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
mutex.h File Reference
#include <pthread.h>
#include "util/single_copy.h"
Include dependency graph for mutex.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  RAII_Polymorphism
 
class  RAII< T, P >
 
class  LockGuard< LockableT >
 

Typedefs

typedef RAII< pthread_mutex_t > MutexLockGuard
 
typedef RAII< pthread_rwlock_t,
RAII_Polymorphism::ReadLock
ReadLockGuard
 
typedef RAII< pthread_rwlock_t,
RAII_Polymorphism::WriteLock
WriteLockGuard
 

Typedef Documentation

typedef RAII<pthread_mutex_t> MutexLockGuard

Definition at line 79 of file mutex.h.

typedef RAII<pthread_rwlock_t, RAII_Polymorphism::ReadLock> ReadLockGuard

Definition at line 102 of file mutex.h.

typedef RAII<pthread_rwlock_t, RAII_Polymorphism::WriteLock> WriteLockGuard

Definition at line 103 of file mutex.h.