MCPcopy Create free account
hub / github.com/PCGEx/PCGExtendedToolkit / CompareAndSetState

Method CompareAndSetState

Source/PCGExtendedToolkit/Private/PCGExMT.cpp:130–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128 }
129
130 bool FAsyncHandle::CompareAndSetState(EAsyncHandleState& ExpectedState, EAsyncHandleState NewState)
131 {
132 return State.compare_exchange_strong(ExpectedState, NewState, std::memory_order_acq_rel);
133 }
134
135 FAsyncMultiHandle::FAsyncMultiHandle(const bool InForceSync, const FName InName)
136 : bForceSync(InForceSync), GroupName(InName)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected