Re: Checking the thread state and wait till completion!

From: Juan Romero (juan.romero_at_bowne.com)
Date: 05/07/04


Date: Fri, 7 May 2004 11:56:51 -0400

Have the thread call a function or set some bigger scope variable upon
completion.

"SasidharJill" <sasijrao@hotmail.com> wrote in message
news:56A4C134-3AE0-47ED-96C9-B944C021A83D@microsoft.com...
> Hi all,
> I need a solution!
>
> In my apps Iam running any where between 1 to 3 threads.
>
> Problem!
> if 2 or 3 three threads are running i have to wait until all the threads
finish.
> So that I can start another 3 threads.
>
> Can you give me a solution so that apps waits for the threads to complete.
>
> Or how to lookup into the the thread pool so that i can somehow now a
thread has finished processing so that i can reuse the thread
> Thanks



Relevant Pages

  • Re: Checking the thread state and wait till completion!
    ... In my apps Iam running any where between 1 to 3 threads. ... Or how to lookup into the the thread pool so that i can somehow now a thread has finished processing so that i can reuse the thread ...
    (microsoft.public.dotnet.languages.vb)
  • Re: reuse a thread which is no longer "alive"
    ... Sayoyo ... >> Is there some way that we can reuse a thread by replacing the runnable ... > There is a util-concurrent Java package which provides a thread pool ...
    (comp.lang.java)
  • Event Programming
    ... I'd like to use events in one of my framework; is it possible to somehow ... reuse parts of event handling provided, e.g., in AWT? ...
    (comp.lang.java.programmer)