mscorlib(4.0.0.0) API with additions
System.Collections.Concurrent Namespace Reference

Classes

class  BlockingCollection
 Provides blocking and bounding capabilities for thread-safe collections that implement T:System.Collections.Concurrent.IProducerConsumerCollection`1. More...
 
class  ConcurrentBag
 Represents a thread-safe, unordered collection of objects. More...
 
class  ConcurrentDictionary
 Represents a thread-safe collection of key/value pairs that can be accessed by multiple threads concurrently. More...
 
class  ConcurrentQueue
 Represents a thread-safe first in-first out (FIFO) collection. More...
 
class  ConcurrentStack
 Represents a thread-safe last in-first out (LIFO) collection. More...
 
interface  IProducerConsumerCollection
 Defines methods to manipulate thread-safe collections intended for producer/consumer usage. This interface provides a unified representation for producer/consumer collections so that higher level abstractions such as T:System.Collections.Concurrent.BlockingCollection`1 can use the collection as the underlying storage mechanism. More...
 
class  OrderablePartitioner
 Represents a particular manner of splitting an orderable data source into multiple partitions. More...
 
class  Partitioner
 Represents a particular manner of splitting a data source into multiple partitions. More...
 

Enumerations

enum  EnumerablePartitionerOptions { EnumerablePartitionerOptions.None = 0x0, EnumerablePartitionerOptions.NoBuffering = 0x1 }
 Specifies options to control the buffering behavior of a partitioner More...
 

Enumeration Type Documentation

◆ EnumerablePartitionerOptions

Specifies options to control the buffering behavior of a partitioner

Enumerator
None 

Use the default behavior, which is to use buffering to achieve optimal performance.

NoBuffering 

Create a partitioner that takes items from the source enumerable one at a time and does not use intermediate storage that can be accessed more efficiently by multiple threads. This option provides support for low latency (items will be processed as soon as they are available from the source) and provides partial support for dependencies between items (a thread cannot deadlock waiting for an item that the thread itself is responsible for processing).

Definition at line 7 of file EnumerablePartitionerOptions.cs.