Forum Stats

  • 3,851,385 Users
  • 2,263,969 Discussions
  • 7,904,691 Comments

Discussions

running some 50 threads at a given time

843789
843789 Member Posts: 46,655 Green Ribbon
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
[email protected]

Comments

This discussion has been closed.