< Atomic void* pointer
More...
#include <atomics.hpp>
|
| AtomicPointer (void *init=NULL) noexcept |
| Atomic pointer/address.
|
|
void * | get () const noexcept |
| Returns value of atomic pointer.
|
|
void * | set (void *newvalue) noexcept |
| Updates atomic pointer to a new value and returns it previous value.
|
|
void * | changeIf (void *comparand, void *newvalue) noexcept |
| Updates atomic pointer to newvalue only if its original value was equal to comparand , returns original value of atomic pointer.
|
|
The documentation for this class was generated from the following files: