I'm looking for a collection object similar to BlockingCollection that will let me have multiple consumers. However, I need those multiple consumers to consume ALL the items. They cannot remove items from it. Essentially, I need to be able to add items to it from another thread and expect anybody who obtains an Enumerator to scroll through all items ever added. And block until it's closed.
Is there such a collection type anywhere?
[EDIT] Good lord, guess I'll clarify... BlockingCollection.GetConsumingEnumerable() returns enumerables that block enumeration when items are not available, or until CompleteAdding is called. I want the SAME THING, except without removing items from the collection.
[EDIT] Okay. Whatever. I solved this: by writing my own blocking list.