Table of Contents

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

h ICoalescingQueueHandle<TContainer, TValue>
res CoalescingQueueNode<TContainer, TValue>

Returns

bool

Type Parameters

TContainer
TValue