Click or drag to resize
BackgroundThreadQueueMechanism Enumeration
An enumeration of the different mechanisms that the BackgroundThreadQueue can use.

Namespace: VirtualRadar.Interface
Assembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public enum BackgroundThreadQueueMechanism
Members
  Member nameValueDescription
Queue0 Items are processed one-at-a-time on the background thread. Stopping the queue will clear unprocessed items from the queue. Communication between the calling thread and background thread is via a WaitHandle.
QueueWithNoBlock1 As per Queue but the background thread continuously polls the queue for more entries to process, relinquishing its time slice if there is nothing to process. This is only supported under Windows, when running on Mono this is translated into a Queue.
SingleThread2 Forces all items to be processed on the thread that adds them. This is forced on internally during unit tests.
ThreadPool3 Items are sent to the ThreadPool for processing, so they are processed in parallel. Stopping the queue will not stop processing of items that are queued on the ThreadPool. The creator of the queue can control how many items are processed in parallel.
See Also