Ark Server API (ASA) - Wiki
|
#include <GenericPlatformAtomics.h>
Static Public Member Functions | |
static FORCEINLINE bool | CanUseCompareExchange128 () |
Static Protected Member Functions | |
static bool | IsAligned (const volatile void *Ptr, const uint32 Alignment=sizeof(void *)) |
DEPRECATED! UE atomics are not maintained and potentially will be physically deprecated. Use std::atomic<T> for new code
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
Definition at line 25 of file GenericPlatformAtomics.h.
|
inlinestatic |
Definition at line 322 of file GenericPlatformAtomics.h.
|
inlinestaticprotected |
Checks if a pointer is aligned and can be used with atomic functions.
Ptr | - The pointer to check. |
Definition at line 335 of file GenericPlatformAtomics.h.