![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <IntrusiveMutex.h>
Static Public Member Functions | |
| static FORCEINLINE bool | IsLocked (const std::atomic< StateType > &State) |
| static FORCEINLINE bool | TryLock (std::atomic< StateType > &State) |
| static FORCEINLINE void | Lock (std::atomic< StateType > &State) |
| static FORCEINLINE void | LockLoop (std::atomic< StateType > &State) |
| static FORCEINLINE void | Unlock (std::atomic< StateType > &State) |
| static FORCEINLINE void | WakeWaitingThread (std::atomic< StateType > &State) |
| static FORCEINLINE bool | TryWakeWaitingThread (std::atomic< StateType > &State) |
A 2-bit intrusive mutex that is not fair and does not support recursive locking.
All bits of the state referenced by IsLockedFlag, IsLockedMask, and MayHaveWaitingLockFlag must be initialized to 0 or to values that are consistent with the functions being called.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |