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.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
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