Click or drag to resize

ConcurrentIsolatedQueueTTryDequeue Method

Attempts to dequeue the specified item from the ConcurrentIsolatedQueueT. This method is NOT thread safe.

Namespace: GSF.Collections
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.191-beta+925724bd48239ba1d4417fe63f8c4977892ab734
Syntax
public bool TryDequeue(
	out T item
)
View Source

Parameters

item  T
an output for the item

Return Value

Boolean
Remarks
During a race condition, the queue might not be completely empty when TryDequeue returns false. Instead this method returns false rather than blocking and waiting on the race condition to satisfy.
See Also