blocxx
Namespaces | Functions | Variables
AtomicOps.cpp File Reference
#include "blocxx/BLOCXX_config.h"
#include "blocxx/AtomicOps.hpp"
#include "blocxx/Mutex.hpp"
#include "blocxx/MutexLock.hpp"
#include "blocxx/ThreadOnce.hpp"

Go to the source code of this file.

Namespaces

namespace  BLOCXX_NAMESPACE
 

Taken from RFC 1321.


Functions

static void BLOCXX_NAMESPACE::initGuard ()
void BLOCXX_NAMESPACE::AtomicInc (Atomic_t &v)
bool BLOCXX_NAMESPACE::AtomicDecAndTest (Atomic_t &v)
int BLOCXX_NAMESPACE::AtomicGet (Atomic_t const &v)
void BLOCXX_NAMESPACE::AtomicDec (Atomic_t &v)

Variables

static Mutex * BLOCXX_NAMESPACE::guard = 0
static OnceFlag BLOCXX_NAMESPACE::g_once = BLOCXX_ONCE_INIT