FClangPlatformAtomics

GCC/Clang implementation of the Atomics OS functions

Windows
MacOS
Linux

Inheritance Hierarchy

FGenericPlatformAtomics

FClangPlatformAtomics

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Clang/ClangPlatformAtomics.h

Include

#include "Clang/ClangPlatformAtomics.h"

Syntax

struct FClangPlatformAtomics : public FGenericPlatformAtomics

Remarks

GCC/Clang implementation of the Atomics OS functions

Functions

Name Description

Public function Static

int8

 

AtomicRead

(
    volatile const int8* Src
)

Public function Static

int16

 

AtomicRead

(
    volatile const int16* Src
)

Public function Static

int32

 

AtomicRead

(
    volatile const int32* Src
)

Public function Static

int64

 

AtomicRead

(
    volatile const int64* Src
)

Public function Static

int8

 

AtomicRead_Relaxed

(
    volatile const int8* Src
)

Public function Static

int16

 

AtomicRead_Relaxed

(
    volatile const int16* Src
)

Public function Static

int32

 

AtomicRead_Relaxed

(
    volatile const int32* Src
)

Public function Static

int64

 

AtomicRead_Relaxed

(
    volatile const int64* Src
)

Public function Static

void

 

AtomicStore

(
    volatile int64* Src,
    int64 Val
)

Public function Static

void

 

AtomicStore

(
    volatile int32* Src,
    int32 Val
)

Public function Static

void

 

AtomicStore

(
    volatile int16* Src,
    int16 Val
)

Public function Static

void

 

AtomicStore

(
    volatile int8* Src,
    int8 Val
)

Public function Static

void

 

AtomicStore_Relaxed

(
    volatile int8* Src,
    int8 Val
)

Public function Static

void

 

AtomicStore_Relaxed

(
    volatile int16* Src,
    int16 Val
)

Public function Static

void

 

AtomicStore_Relaxed

(
    volatile int32* Src,
    int32 Val
)

Public function Static

void

 

AtomicStore_Relaxed

(
    volatile int64* Src,
    int64 Val
)

Public function Static

int8

 

InterlockedAdd

(
    volatile int8* Value,
    int8 Amount
)

Public function Static

int16

 

InterlockedAdd

(
    volatile int16* Value,
    int16 Amount
)

Public function Static

int32

 

InterlockedAdd

(
    volatile int32* Value,
    int32 Amount
)

Public function Static

int64

 

InterlockedAdd

(
    volatile int64* Value,
    int64 Amount
)

Public function Static

int16

 

InterlockedAnd

(
    volatile int16* Value,
    const int16 AndValue
)

Public function Static

int64

 

InterlockedAnd

(
    volatile int64* Value,
    const int64 AndValue
)

Public function Static

int32

 

InterlockedAnd

(
    volatile int32* Value,
    const int32 AndValue
)

Public function Static

int8

 

InterlockedAnd

(
    volatile int8* Value,
    const int8 AndValue
)

Public function Static

int8

 

InterlockedCompareExchange

(
    volatile int8* Dest,
    int8 Exchange,
    int8 Comperand
)

Public function Static

int16

 

InterlockedCompareExchange

(
    volatile int16* Dest,
    int16 Exchange,
    int16 Comperand
)

Public function Static

int32

 

InterlockedCompareExchange

(
    volatile int32* Dest,
    int32 Exchange,
    int32 Comperand
)

Public function Static

int64

 

InterlockedCompareExchange

(
    volatile int64* Dest,
    int64 Exchange,
    int64 Comperand
)

Public function Static

void *

 

InterlockedCompareExchangePointer

(
    void*volatile* Dest,
    void* Exchange,
    void* Comperand
)

Public function Static

int8

 

InterlockedDecrement

(
    volatile int8* Value
)

Public function Static

int16

 

InterlockedDecrement

(
    volatile int16* Value
)

Public function Static

int32

 

InterlockedDecrement

(
    volatile int32* Value
)

Public function Static

int64

 

InterlockedDecrement

(
    volatile int64* Value
)

Public function Static

int32

 

InterlockedExchange

(
    volatile int32* Value,
    int32 Exchange
)

Public function Static

int64

 

InterlockedExchange

(
    volatile int64* Value,
    int64 Exchange
)

Public function Static

int8

 

InterlockedExchange

(
    volatile int8* Value,
    int8 Exchange
)

Public function Static

int16

 

InterlockedExchange

(
    volatile int16* Value,
    int16 Exchange
)

Public function Static

void *

 

InterlockedExchangePtr

(
    void*volatile* Dest,
    void* Exchange
)

Public function Static

int8

 

InterlockedIncrement

(
    volatile int8* Value
)

Public function Static

int16

 

InterlockedIncrement

(
    volatile int16* Value
)

Public function Static

int32

 

InterlockedIncrement

(
    volatile int32* Value
)

Public function Static

int64

 

InterlockedIncrement

(
    volatile int64* Value
)

Public function Static

int8

 

InterlockedOr

(
    volatile int8* Value,
    const int8 OrValue
)

Public function Static

int16

 

InterlockedOr

(
    volatile int16* Value,
    const int16 OrValue
)

Public function Static

int32

 

InterlockedOr

(
    volatile int32* Value,
    const int32 OrValue
)

Public function Static

int64

 

InterlockedOr

(
    volatile int64* Value,
    const int64 OrValue
)

Public function Static

int8

 

InterlockedXor

(
    volatile int8* Value,
    const int8 XorValue
)

Public function Static

int16

 

InterlockedXor

(
    volatile int16* Value,
    const int16 XorValue
)

Public function Static

int32

 

InterlockedXor

(
    volatile int32* Value,
    const int32 XorValue
)

Public function Static

int64

 

InterlockedXor

(
    volatile int64* Value,
    const int64 XorValue
)

Deprecated Functions

Name Description

Public function Static

int64

 

AtomicRead64

(
    volatile const int64* Src
)

AtomicRead64 has been deprecated, please use AtomicRead's overload instead

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss