Results 1 to 6 of 6

Thread: Waiting for a thread to finish? [C# 2002]

Hybrid View

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2003
    Posts
    308

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

  2. #2
    Registered User nmadd's Avatar
    Join Date
    Jun 2007
    Location
    U.S.A.
    Posts
    1,676

    Re: Waiting for a thread to finish? [C# 2002]

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

  3. #3
    Raging swede Atheist's Avatar
    Join Date
    Aug 2005
    Location
    Sweden
    Posts
    8,018

    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?
    Rate posts that helped you. I do not reply to PM's with coding questions.
    How to Get Your Questions Answered
    Current project: tunaOS
    Me on.. BitBucket, Google Code, Github (pretty empty)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width