Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Misc > API/Runtime/Core/Misc/FRWScopeLock
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Misc/ScopeRWLock.h |
Include | #include "Misc/ScopeRWLock.h" |
void ReleaseReadOnlyLockAndAcquireWriteLock_USE_WITH_CAUTION&40;&41;
Remarks
NOTE: As the name suggests, this function should be used with caution. It releases the read lock before acquiring a new write lock. This is not an atomic operation and the caller should not treat it as such. E.g. Pointers read from protected data structures prior to this call may be invalid after the function is called.