Dofactory.com
Dofactory.com
 Back to list
Views:   3.2K
Replies:  0
Archived

Does themain thread wait for all tasks to complete if Task.WaitAll is used?

 I am working on an ASP.NET app that fetches data from web services. I am planning to use the Task Parallel Library.

My question is this: if I call the services using parallel Tasks does the main thread wait for all calls to complete with Task.WaitAll?
If not is there any alternative way to achieve this?

Thanks

Vi Sa, Sep 17, 2013
Stay Inspired!
Join other developers and designers who have already signed up for our mailing list.
Terms     Privacy     Cookies       Do Not Sell       Licensing      
Made with    in Austin, Texas.  - vsn 44.0.0
© Data & Object Factory, LLC.