GATE
Loading...
Searching...
No Matches
AtomicPointer Class Reference

< Atomic void* pointer More...

#include <atomics.hpp>

Public Member Functions

 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.
 

Detailed Description

< Atomic void* pointer


The documentation for this class was generated from the following files: