Hi
I need some help in threads.
Here is my problem -
I have to process something for hundred times using threads. I need to run 10 threads at a time. Once, I start these 10 threads, I can start another
thread only if one/more of these threads are completed.
Now I need to find how I can find that a thread is available so that it can be started again. That is when a thread is completed I have to start new one otherwise, I have to wait till any of these 10 threads are completed.
Please give me some advice on this. I am using JDK 1.5.
Thanks...
Rajashekhar S