FGenericPlatformAtomics

Inheritance Hierarchy

FGenericPlatformAtomics

FClangPlatformAtomics

Syntax

struct FGenericPlatformAtomics

Remarks

Generic implementation...you are required to implement at least FPlatformAtomics::InterlockedCompareExchange but they are listed here to provide a base implementation in terms of FPlatformAtomics::InterlockedCompareExchange and easy copy-paste

Functions

Name Description

Public function Static

bool

 

CanUseCompareExchange128()

Protected function Static

bool

 

IsAligned

(
    const volatile void* Ptr,
    const uint32 Alignment
)

Checks if a pointer is aligned and can be used with atomic functions.

References

Module

Core

Header

Runtime/Core/Public/GenericPlatform/GenericPlatformAtomics.h