xrootd
|
#include <cstring>
#include <pthread.h>
Go to the source code of this file.
Classes | |
class | XrdSsiMutex |
class | XrdSsiMutexMon |
Macros | |
#define | NEED_ATOMIC_MUTEX 1 |
Use native atomics at the c11 or higher level (-std=c++0x -lstdc++) More... | |
#define | Atomic_IMP "missing" |
#define | Atomic(type) type |
#define | Atomic_BEG(x) pthread_mutex_lock(x) |
#define | Atomic_DEC(x) x-- |
#define | Atomic_GET(x) x |
#define | Atomic_INC(x) x++ |
#define | Atomic_SET(x, y) x = y |
#define | Atomic_ZAP(x) x = 0 |
#define | Atomic_END(x) pthread_mutex_unlock(x) |
#define Atomic | ( | type | ) | type |
#define Atomic_BEG | ( | x | ) | pthread_mutex_lock(x) |
#define Atomic_DEC | ( | x | ) | x-- |
#define Atomic_END | ( | x | ) | pthread_mutex_unlock(x) |
#define Atomic_GET | ( | x | ) | x |
#define Atomic_IMP "missing" |
#define Atomic_INC | ( | x | ) | x++ |
#define Atomic_SET | ( | x, | |
y | |||
) | x = y |
#define Atomic_ZAP | ( | x | ) | x = 0 |
#define NEED_ATOMIC_MUTEX 1 |
Use native atomics at the c11 or higher level (-std=c++0x -lstdc++)