Module |
|
Header |
/Engine/Source/Runtime/Experimental/ChaosSolvers/Public/ChaosSolversModule.h |
Include |
#include "ChaosSolversModule.h" |
class FChaosScopedPhysicsThreadLock
Scoped locking object for physics thread. Currently this will stall out the persistent physics task if it is running. Use this in situations where another thread absolutely must read or write.
Will block on construction until the physics thread confirms it has stalled, then the constructor returns. Will let the physics thread continue post-destruction
Does a runtime check on the type of the dispatcher and will do nothing if we're not running the dedicated thread mode.
Name | Description | |
---|---|---|
|
FChaosScopedPhysicsThreadLock() |
|
|
FChaosScopedPhysicsThreadLock ( |
Name | Description | |
---|---|---|
|
~FChaosScopedPhysicsThreadLock() |
Name | Description | ||
---|---|---|---|
|
DidGetLock() |