Implementing the Producer/Consumer Pattern in C#
I know this thread is quite a bit old, but since I came across it sometimes in my searches, I decided to share this producer-consumer code for people wondering how to implement a simple generic producer-consumer job queue. The Job class is used to ‘store’ an object’s method call in the form of a delegate. … Read more