Module |
|
Header |
/Engine/Source/Runtime/Experimental/Chaos/Public/Framework/Threading.h |
Include |
#include "Framework/Threading.h" |
class FPhysicsSceneGuard
Recursive Read/Write lock object for protecting external data accesses for physics scenes. This is a fairly heavy lock designed to allow scene queries and user code to safely access external physics data.
The lock also allows a thread to recursively lock data to avoid deadlocks on repeated writes or undefined behavior for nesting read locks.
Fairness is determined by the underlying platform FRWLock type as this lock uses FRWLock as it's internal primitive
Name | Description | |
---|---|---|
|
FPhysicsSceneGuard() |
|
|
FPhysicsSceneGuard ( |
|
|
FPhysicsSceneGuard ( |
Name | Description | |
---|---|---|
|
~FPhysicsSceneGuard() |
Name | Description | ||
---|---|---|---|
|
ReadLock() |
||
|
ReadUnlock() |
||
|
WriteLock() |
||
|
WriteUnlock() |
Name | Description | ||
---|---|---|---|
|
FPhysicsScen... |
operator= ( |
|
|
FPhysicsScen... |
operator= ( |