Provides several thread-safe collection classes that should be used in place of the corresponding types in the xtd::collections and xtd::collections::generic namespaces whenever multiple threads are accessing the collection concurrently.
However, access to elements of a collection object through extension methods or through explicit interface implementations are not guaranteed to be thread-safe and may need to be synchronized by the caller.
Classes | |
| class | concurrent_bag |
| Represents a thread-safe, unordered collection of objects. More... | |
| class | iproducer_consumer_collection |
| 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 xtd::collections::concurrent::blocking_collection <type_t> can use the collection as the underlying storage mechanism. More... | |