Class CoalescingQueueHandleExtensions
- Namespace
- CounterpointCollective.Collections
- Assembly
- CounterpointCollective.CoalescingQueue.dll
public static class CoalescingQueueHandleExtensions
- Inheritance
-
CoalescingQueueHandleExtensions
- Inherited Members
Methods
EnqueueIfNotCompleted<TContainer, TValue>(ICoalescingQueueHandle<TContainer, TValue>, out CoalescingQueueNode<TContainer, TValue>)
Tries to enqueue a node on the handle, returning false if the queue is already completed.
public static bool EnqueueIfNotCompleted<TContainer, TValue>(this ICoalescingQueueHandle<TContainer, TValue> h, out CoalescingQueueNode<TContainer, TValue> res) where TContainer : struct
Parameters
hICoalescingQueueHandle<TContainer, TValue>resCoalescingQueueNode<TContainer, TValue>
Returns
Type Parameters
TContainerTValue