|
-
Sep 5th, 2019, 11:27 PM
#11
New Member
Re: [RESOLVED] how to make main thread wait for all threads before continuing?
 Originally Posted by Lord Orwell
we've known that since Jul 13th, 2011, 06:04 PM. There's another option available that could be used. The Parallel.For and Parallel.ForEach do all the threading for you. You'll still have ui issue though.
Parallel does not solve the UI freeze.
 Originally Posted by jmcilhinney
You can use async/await to allow you to await multiple tasks without freezing the UI. Not sure that that was available when this thread was originally active.
I can use Task or async/await but I don't know which one is better?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|