Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Misc
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Misc/ScopeRWLock.h |
| Include | #include "Misc/ScopeRWLock.h" |
Syntax
class FRWScopeLock
Remarks
Keeps a FRWLock read- or write-locked while this scope lives
Notes:
- PThreads and Win32 API's don't provide a mechanism for upgrading a ownership of a read lock to a write lock - to get round that this system unlocks then acquires a write lock so it can race between.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FRWScopeLock
(
FRWLock& InLockObject, |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | NOTE: As the name suggests, this function should be used with caution. |