#include <src/main/decaf/internal/util/concurrent/Atomics.h>
Static Public Member Functions |
template<typename T > |
static bool | compareAndSwap (T *&target, T *expect, T *update) |
static bool | compareAndSet32 (volatile int *target, int expect, int update) |
static bool | compareAndSet (volatile void **target, void *expect, void *update) |
static void * | getAndSet (volatile void **target, void *value) |
static int | getAndSet (volatile int *target, int value) |
static int | getAndIncrement (volatile int *target) |
static int | getAndDecrement (volatile int *target) |
static int | getAndAdd (volatile int *target, int delta) |
static int | addAndGet (volatile int *target, int delta) |
static int | incrementAndGet (volatile int *target) |
static int | decrementAndGet (volatile int *target) |
Member Function Documentation
static int decaf::internal::util::concurrent::Atomics::addAndGet |
( |
volatile int * |
target, |
|
|
int |
delta |
|
) |
| |
|
static |
static bool decaf::internal::util::concurrent::Atomics::compareAndSet |
( |
volatile void ** |
target, |
|
|
void * |
expect, |
|
|
void * |
update |
|
) |
| |
|
static |
static bool decaf::internal::util::concurrent::Atomics::compareAndSet32 |
( |
volatile int * |
target, |
|
|
int |
expect, |
|
|
int |
update |
|
) |
| |
|
static |
template<typename T >
static bool decaf::internal::util::concurrent::Atomics::compareAndSwap |
( |
T *& |
target, |
|
|
T * |
expect, |
|
|
T * |
update |
|
) |
| |
|
inlinestatic |
static int decaf::internal::util::concurrent::Atomics::decrementAndGet |
( |
volatile int * |
target | ) |
|
|
static |
static int decaf::internal::util::concurrent::Atomics::getAndAdd |
( |
volatile int * |
target, |
|
|
int |
delta |
|
) |
| |
|
static |
static int decaf::internal::util::concurrent::Atomics::getAndDecrement |
( |
volatile int * |
target | ) |
|
|
static |
static int decaf::internal::util::concurrent::Atomics::getAndIncrement |
( |
volatile int * |
target | ) |
|
|
static |
static void* decaf::internal::util::concurrent::Atomics::getAndSet |
( |
volatile void ** |
target, |
|
|
void * |
value |
|
) |
| |
|
static |
static int decaf::internal::util::concurrent::Atomics::getAndSet |
( |
volatile int * |
target, |
|
|
int |
value |
|
) |
| |
|
static |
static int decaf::internal::util::concurrent::Atomics::incrementAndGet |
( |
volatile int * |
target | ) |
|
|
static |
Friends And Related Function Documentation
The documentation for this class was generated from the following file:
- src/main/decaf/internal/util/concurrent/Atomics.h