Wednesday, December 31, 2014

Is there any performance advantage to awaiting Tasks in a BackgroundTask vs just calling WAIT?

If you just gather up all your tasks in the BackgroundTask and then call Task.WaitAll, is there any reason not to do this?


I'm mainly curious because of some mutex code that would just be simpler to use if I just Waited on the tasks instead of awaited them.




No comments:

Post a Comment