I have to write an application which consists of four threads:
- thread generates some data (producer thread);
- thread gets the data from producer thread and does
Action1(data);
- thread gets the data from producer thread and does
Action2(data);
- thread gets the data from producer thread and does
Action3(data);
How can I pass the same data to all three consuming threads? I'm limited to .NET 3.0 libraries, i.e., I can't use such things as ConcurrentQueues and so on.