Timeline for Producer/Consumer in C#
Current License: CC BY-SA 3.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 25, 2013 at 17:33 | comment | added | Brian |
Peeking in the source of BlockingCollection , it offers an both an enumerator which makes a copy and a consuming enumerable which modifies the collection as it is enumerated.
|
|
Oct 24, 2013 at 23:04 | comment | added | csharper |
Sorry if I wasn't clear enough. I edited my question. The spec you assumed is correct. I want to make sure as well my implementation doesn't result in a deadlock. This is more of a personal challenge than a real world problem, hence not using BlockingCollection or Generics. +1 for the GetEnumerator() tip!
|
|
Oct 24, 2013 at 8:31 | history | answered | ChrisWue | CC BY-SA 3.0 |