Module |
|
Header |
/Engine/Source/Runtime/Experimental/ChaosSolvers/Public/Framework/TripleBufferedData.h |
Include |
#include "Framework/TripleBufferedData.h" |
DataType * ExchangeConsumerBuffer()
Get an updated buffer for the consuming thread to read from.
The returned pointer may be null if the producer thread hasn't done an update since the last time this function was called.
The same capacity for a race condition exists with this functions return value as with `ExchangeProducerBuffer()_. TTripleBufferedData
Always refresh the same variable. TTripleBufferedData