#include <AtomicOps.hpp>
Public Member Functions | |
Atomic_t () | |
Construct an Atomic_t structure with the value initialized to zero. | |
Atomic_t (int i) | |
Construct an Atomic_t structure with the value initialized to a given value. | |
Public Attributes | |
int | val |
The current value for theis Atomic_t. | |
pthread_spinlock_t | spinlock |
Definition at line 236 of file AtomicOps.hpp.
|
Construct an Atomic_t structure with the value initialized to zero.
Definition at line 45 of file AtomicOps.cpp. References spinlock. |
|
Construct an Atomic_t structure with the value initialized to a given value.
Definition at line 50 of file AtomicOps.cpp. References spinlock. |
|
Definition at line 254 of file AtomicOps.hpp. Referenced by Atomic_t(), BLOCXX_NAMESPACE::AtomicDec(), BLOCXX_NAMESPACE::AtomicDecAndTest(), and BLOCXX_NAMESPACE::AtomicInc(). |
|
The current value for theis Atomic_t.
Definition at line 252 of file AtomicOps.hpp. Referenced by BLOCXX_NAMESPACE::AtomicDec(), BLOCXX_NAMESPACE::AtomicDecAndTest(), BLOCXX_NAMESPACE::AtomicGet(), and BLOCXX_NAMESPACE::AtomicInc(). |