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

  • Question

  • 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.

    Thursday, January 1, 2015 3:30 AM