Threading – Producer-Consumer Pattern
Having run into a bit of deadlocking issue while working on Bingo.Net I spent a bit of time reading into the Producer-Consumer pattern and here’s what I learnt which I hope you’ll find useful too. AutoResetEvent and ManualResetEvent To start off, MSDN has an introductory article on how to synchronize a producer and a consumer …