Tag: c# threading

  • Producer/consumer queues in C#

    What is a producer/consumer queue In a restaurant there are chefs in the kitchen who wait for orders from customers. As soon as a customer orders something, they (the chefs) make it and serve it to them (the customer). A producer/consumer queue is the same. There are workers who wait for a “job” to be…