Unigine::AtomicInteger Class
Header: | #include <UnigineThread.h> |
AtomicInteger Class
Members
static AtomicIntegerPtr create ( ) #
static AtomicIntegerPtr create ( Type v ) #
Arguments
- Type v
static AtomicIntegerPtr create ( const AtomicInteger& v ) #
Arguments
- const AtomicInteger& v
Type operator type-parameter-0-0 ( ) const#
int & getUnsafeRawValue ( ) #
const int & getUnsafeRawValue ( ) const#
int * getRawValuePtr ( ) #
const int * getRawValuePtr ( ) const#
Type & getUnsafeValue ( ) #
const Type & getUnsafeValue ( ) const#
Type * getValuePtr ( ) #
const Type * getValuePtr ( ) const#
auto fetch ( ) const#
void store ( Type v ) #
Arguments
- Type v
Type operator= ( Type v ) #
Arguments
- Type v
Type operator= ( const AtomicInteger& v ) #
Arguments
- const AtomicInteger& v
Type swap ( Type v ) #
Arguments
- Type v
bool compareAndSwap ( Type old_value, Type new_value ) #
Arguments
- Type old_value
- Type new_value
void spinLock ( Type old_value, Type new_value ) #
Arguments
- Type old_value
- Type new_value
void waitValue ( Type v ) #
Arguments
- Type v
Type fetchAdd ( Type v ) #
Arguments
- Type v
Type fetchSub ( Type v ) #
Arguments
- Type v
Type fetchAnd ( Type v ) #
Arguments
- Type v
Type fetchOr ( Type v ) #
Arguments
- Type v
Type fetchXor ( Type v ) #
Arguments
- Type v
Type fetchInc ( ) #
Type fetchDec ( ) #
Type operator+= ( Type v ) #
Arguments
- Type v
Type operator-= ( Type v ) #
Arguments
- Type v
Type operator++ ( int ) #
Arguments
- int
Type operator-- ( int ) #
Arguments
- int
Type operator++ ( ) #
Type operator-- ( ) #
Type operator&= ( Type v ) #
Arguments
- Type v
Type operator|= ( Type v ) #
Arguments
- Type v
Type operator^= ( Type v ) #
Arguments
- Type v
The information on this page is valid for UNIGINE 2.20 SDK.
Last update:
30.06.2025
Помогите сделать статью лучше
Была ли эта статья полезной?
(или выберите слово/фразу и нажмите Ctrl+Enter