Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/GenericPlatform
Inheritance Hierarchy
- FGenericPlatformAtomics
- FClangPlatformAtomics
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformAtomics.h |
| Include | #include "GenericPlatform/GenericPlatformAtomics.h" |
Syntax
struct FGenericPlatformAtomics
Remarks
DEPRECATED! UE atomics are not maintained and potentially will be physically deprecated. Use std::atomic
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
| Type | Name | Description | |
|---|---|---|---|
| bool | |||
| bool | IsAligned
(
const volatile void* Ptr, |
Checks if a pointer is aligned and can be used with atomic functions. |