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.232-beta+203aa83a5a82d50f387e69875549969ad138d6e0
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