|
-
Jul 20th, 2007, 04:13 PM
#1
Thread Starter
Hyperactive Member
Re: Waiting for a thread to finish? [C# 2002]
That is hilarious - but it might actually work (I'll test it out in a bit)...
But to be sure - you mean create a "master thread" and have it spawn the UI thread as well as the worker threads? That way the MASTER can block until all workers come back and somehow notify the UI that it can now proceed to do what needs to be done - all the while not blocking the UI itself...
...wow...
indepth for something I imagined to be a lot simpler...
... lol ...
-
Jul 20th, 2007, 04:19 PM
#2
Re: Waiting for a thread to finish? [C# 2002]
 Originally Posted by Shaitan00
That is hilarious - but it might actually work (I'll test it out in a bit)...
But to be sure - you mean create a "master thread" and have it spawn the UI thread as well as the worker threads? That way the MASTER can block until all workers come back and somehow notify the UI that it can now proceed to do what needs to be done - all the while not blocking the UI itself...
...wow...
indepth for something I imagined to be a lot simpler...
... lol ...
I really don't know if there is an easier way (I imagine there is), but yep, that's the hilarious idea.
-
Jul 20th, 2007, 05:58 PM
#3
Re: Waiting for a thread to finish? [C# 2002]
So, the stuff that all these threads will do....why cant you just do it in one thread?
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
|