FRWScopeLock::ReleaseReadOnlyLockAndAcquireWriteLock_USE_WITH_CAUTION

It releases the read lock _before_ acquiring a new write lock.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/ScopeRWLock.h

Include

#include "Misc/ScopeRWLock.h"

Syntax

void ReleaseReadOnlyLockAndAcquireWriteLock_USE_WITH_CAUTION()

Remarks

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss