#include "blocxx/BLOCXX_config.h"
#include <pthread.h>
Go to the source code of this file.
Namespaces | |
namespace | BLOCXX_NAMESPACE |
Classes | |
struct | BLOCXX_NAMESPACE::Atomic_t |
The Atomic_t structure is used by all the AtomicXXX functions. More... | |
Defines | |
#define | BLOCXX_USE_PTHREAD_SPIN_LOCK_ATOMIC_OPS |
Functions | |
void | BLOCXX_NAMESPACE::AtomicInc (Atomic_t &v) |
Increment the value in a given Atomic_t structure. | |
bool | BLOCXX_NAMESPACE::AtomicDecAndTest (Atomic_t &v) |
Decrement the value in a given Atomic_t structure and test it for zero. | |
int | BLOCXX_NAMESPACE::AtomicGet (Atomic_t const &v) |
Get the value from a given Atomic_t structure. | |
void | BLOCXX_NAMESPACE::AtomicDec (Atomic_t &v) |
Decrement the value in a given Atomic_t structure. |
|
Definition at line 229 of file AtomicOps.hpp. |