Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TTransactionallySafeSpscQueue
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Returns NullOpt if the queue is empty. | Containers/TransactionallySafeSpscQueue.h | ||
bool Dequeue
(
ElementType& OutElem |
Containers/TransactionallySafeSpscQueue.h |
Dequeue()
Description
Returns NullOpt if the queue is empty. Spin-waiting on Dequeue from within an AutoRTFM transaction is likely to deadlock, as the matching Enqueue will be waiting on Mutex.
| Name | Dequeue |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/TransactionallySafeSpscQueue.h |
| Include Path | #include "Containers/TransactionallySafeSpscQueue.h" |
TOptional < ElementType > Dequeue()
Dequeue(ElementType &)
| Name | Dequeue |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/TransactionallySafeSpscQueue.h |
| Include Path | #include "Containers/TransactionallySafeSpscQueue.h" |
bool Dequeue
(
ElementType & OutElem
)