#include <atomicAdjustDummyImpl.h>
Static Public Member Functions | |
int | inc (int &var) |
Atomically increments the indicated variable and returns the new value. | |
int | dec (int &var) |
Atomically decrements the indicated variable and returns the new value. | |
int | set (int &var, int new_value) |
Atomically changes the indicated variable and returns the original value. |
Definition at line 42 of file atomicAdjustDummyImpl.h.
|
Atomically decrements the indicated variable and returns the new value.
Definition at line 49 of file atomicAdjustDummyImpl.I. Referenced by AtomicAdjust::inc(). |
|
Atomically increments the indicated variable and returns the new value.
Definition at line 34 of file atomicAdjustDummyImpl.I. References INLINE. |
|
Atomically changes the indicated variable and returns the original value.
Definition at line 64 of file atomicAdjustDummyImpl.I. Referenced by AtomicAdjust::dec(). |