running some 50 threads at a given time
Hi,
I am having one requirement.I created some 1000 threads to access a resource .am running 50 threads at a time(i.e only 50 threads has to at a given period of time) but when any one of the thread is completed another thread has to start i.e 51 st thread has to start.so at any given time there will be only 50 threads running on the whole.similarly further threads also to be start execution. please help me to this situation if possible just give me a sample codes for this situation.
I need it in urgent.
karthikeyan
karthisys@yahoo.co.in

