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     Licensing       EULA       Sitemap      
© Data & Object Factory, LLC.
Made with    in Austin, Texas.      Vsn 1.2.2