Implementing the procducer-consumer pattern with .NET 4.0

Posted by bitbonk on Stack Overflow See other posts from Stack Overflow or by bitbonk
Published on 2010-06-03T13:02:20Z Indexed on 2010/06/03 13:14 UTC
Read the original article Hit count: 229

With alle the new paralell programming features in .NET 4.0, what would be a a simple and fast way to implement the producer-consumer pattern (where at least one thread is producing/enqueuing task items and another thread executes/dequeues these tasks). Can we benfit from all these new APIs? What is your preferred implementation of this pattern?

© Stack Overflow or respective owner

Related posts about design-patterns

Related posts about .net-4.0