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.230-beta+03417d7b5cff037b24e882d7adef82d359b34964
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