This page has been translated automatically.
Video Tutorials
Interface
Essentials
Advanced
How To
Basics
Rendering
Professional (SIM)
UnigineEditor
Interface Overview
Assets Workflow
Version Control
Settings and Preferences
Working With Projects
Adjusting Node Parameters
Setting Up Materials
Setting Up Properties
Lighting
Sandworm
Using Editor Tools for Specific Tasks
Extending Editor Functionality
Built-in Node Types
Nodes
Objects
Effects
Decals
Light Sources
Geodetics
World Nodes
Sound Objects
Pathfinding Objects
Players
Programming
Fundamentals
Setting Up Development Environment
Usage Examples
C++
C#
UnigineScript
UUSL (Unified UNIGINE Shader Language)
Plugins
File Formats
Materials and Shaders
Rebuilding the Engine Tools
GUI
Double Precision Coordinates
API Reference
Animations-Related Classes
Containers
Common Functionality
Controls-Related Classes
Engine-Related Classes
Filesystem Functionality
GUI-Related Classes
Math Functionality
Node-Related Classes
Objects-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
IG Plugin
CIGIConnector Plugin
Rendering-Related Classes
VR-Related Classes
Content Creation
Content Optimization
Materials
Material Nodes Library
Miscellaneous
Input
Math
Matrix
Textures
Art Samples
Tutorials

Unigine::AtomicPointer Class

Header: #include <UnigineThread.h>

AtomicPointer Class

Members


static AtomicPointerPtr create ( ) #

static AtomicPointerPtr create ( Type v ) #

Arguments

  • Type v

static AtomicPointerPtr create ( const AtomicPointer& v ) #

Arguments

  • const AtomicPointer& v

Type operator type-parameter-0-0 ( ) const#

volatile long long & getUnsafeRawValue ( ) #

const volatile long long & getUnsafeRawValue ( ) const#

volatile long long * getRawValuePtr ( ) #

const volatile long long * getRawValuePtr ( ) const#

Type & getUnsafeValue ( ) #

const Type & getUnsafeValue ( ) const#

Type * getValuePtr ( ) #

const Type * getValuePtr ( ) const#

Type fetch ( ) const#

void store ( Type v ) #

Arguments

  • Type v

Type operator= ( Type v ) #

Arguments

  • Type v

Type operator= ( const AtomicPointer& v ) #

Arguments

  • const AtomicPointer& 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 ( long v ) #

Arguments

  • long v

Type fetchSub ( long v ) #

Arguments

  • long v

Type fetchInc ( ) #

Type fetchDec ( ) #

Type operator+= ( long v ) #

Arguments

  • long v

Type operator-= ( long v ) #

Arguments

  • long v

Type operator++ ( int ) #

Arguments

  • int

Type operator-- ( int ) #

Arguments

  • int

Type operator++ ( ) #

Type operator-- ( ) #

The information on this page is valid for UNIGINE 2.20 SDK.

Last update: 2025-06-30
Build: ()