0
votes
0answers
116 views

Using Barrier to Implement Go's Wait Group

I have implemented a WaitGroup class to simulate WaitGroup in Go lang. Then I've found that I can use Barrier in a different manner, to achieve the same thing. My WaitGroup has some additional ...
1
vote
0answers
63 views

Need guidance using Tasks

I am doing multithreading using TPL Tasks first time. This is what i have done so far and I want to do it the right way. I will really appreciate if you could honor me with your expert advice. I am ...
3
votes
2answers
167 views

Please review my UNC path exists monitor

This is my first attempt at trying to write a "monitor" class to determine if a UNC path is available. I need the monitor to not block the main thread and to also event when the UNC is toggled UP/DOWN ...
2
votes
1answer
854 views

Correct approach to wait for multiple async methods to complete

I have an IWorkflow interface defined as follows: public interface IWorkflow { Task ConfigureAsync(); Task StartAsync(); Task StopAsync(); } And I have an Engine class: public sealed ...