◆ AtomicPointer()
gate::AtomicPointer::AtomicPointer |
( |
void * | init = NULL | ) |
|
◆ changeIf()
void * gate::AtomicPointer::changeIf |
( |
void * | comparand, |
|
|
void * | newvalue ) |
Updates atomic pointer to newvalue
only if its original value was equal to comparand
, returns original value of atomic pointer
◆ get()
void * gate::AtomicPointer::get |
( |
| ) |
const |
Returns value of atomic pointer
◆ set()
void * gate::AtomicPointer::set |
( |
void * | newvalue | ) |
|
Updates atomic pointer to a new value and returns it previous value
The documentation for this class was generated from the following files: