#include "iproducer_consumer_collection.hpp"#include "../generic/dictionary.hpp"#include "../generic/queue.hpp"#include "../../threading/interlocked.hpp"#include "../../as.hpp"#include "../../lock_guard.hpp"#include "../../new_ptr.hpp"#include <atomic>Contains xtd::collections::concurrent::concurrent_bag <type_t> class.
Go to the source code of this file.
Classes | |
| class | xtd::collections::concurrent::concurrent_bag< type_t > |
| Represents a thread-safe, unordered collection of objects. More... | |
Namespaces | |
| namespace | xtd |
| The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more. | |
| namespace | xtd::collections |
| The xtd::collections namespace contains interfaces and classes that define various collections of objects, such as lists, queues, bit arrays, hash tables and dictionaries. | |
| namespace | xtd::collections::concurrent |
| 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. | |