XrdSsiAtomics.hh File Reference

#include <string.h>
#include <pthread.h>
Include dependency graph for XrdSsiAtomics.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  XrdSsiMutex
class  XrdSsiMutexMon

Defines

#define NEED_ATOMIC_MUTEX   1
 Use native atomics at the c11 or higher level (-std=c++0x -lstdc++).
#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 Documentation

#define Atomic ( type   )     type
#define Atomic_BEG (  )     pthread_mutex_lock(x)
#define Atomic_DEC (  )     x--
#define Atomic_END (  )     pthread_mutex_unlock(x)
#define Atomic_GET (  )     x
#define Atomic_IMP   "missing"
#define Atomic_INC (  )     x++
#define Atomic_SET ( x,
 )     x = y
#define Atomic_ZAP (  )     x = 0
#define NEED_ATOMIC_MUTEX   1

Use native atomics at the c11 or higher level (-std=c++0x -lstdc++).

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 3 Sep 2020 for xrootd by  doxygen 1.6.1