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.218-beta+101eee949414e414795e55a6e73d88938f0177b8
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