Tag: Threading
All the articles with the tag "Threading".
-
Producer/consumer pipelines with System.Threading.Channels
Last week, I came across the following question: “Is there an async producer/consumer collection these days in .NET?” Why yes, there is! Using System.Threading.Channels, we can create producer/consumer pairs, and we can even chain them together in a pipeline. In this post, I will try to explain concurrency, producer/consumer, and System.Threading.Channels concepts using a practical example, to refresh our collective memories.