![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <ScopeLock.h>
Inheritance diagram for FScopeUnlock:Public Member Functions | |
| FScopeUnlock (FCriticalSection *InSyncObject) | |
Implements a scope unlock.
This is a utility class that handles scope level unlocking. It's very useful to allow access to a protected object when you are sure it can happen. Example:
{ // Access data that is shared among multiple threads FScopeUnlock ScopeUnlock(SyncObject); ... // When ScopeUnlock goes out of scope, other threads can no longer access data }
|
inlineexplicit |
Constructor that performs a unlock on the synchronization object
| InSyncObject | The synchronization object to manage, can be null. |