Unigine::Atomic Class
Header: | #include <UnigineThread.h> |
Atomic Class
Members
static AtomicPtr create ( ) #
Default constructor.static AtomicPtr create ( const T & v ) #
Constructor.Arguments
- const T & v
static AtomicPtr create ( Atomic<T> && ) #
Constructor.Arguments
- Atomic<T> &&
static AtomicPtr create ( const Atomic<T> & ) #
Constructor.Arguments
- const Atomic<T> &
T load ( ) #
Reads the current value atomically.Return value
Current value.void store ( const T & v ) #
Writes the current value atomically.Arguments
- const T & v - Value to be written.
Last update:
2024-12-13
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)