G
Guest
Hi ! I need to spawn several threads in a loop. The exact number is a user
defined
parameter.
for(int i = 0; I < NUMBER_OF THREADS; i++)
{
// Spawn a new thread that does something
}
I am having a hard time figuring it out. I know how to use ThreadStart but
I do not know how to call it in a loop.
Any ideas, suggestions, samples, url’s are greatly appreciated.
Thank you in advance,
--Michael
defined
parameter.
for(int i = 0; I < NUMBER_OF THREADS; i++)
{
// Spawn a new thread that does something
}
I am having a hard time figuring it out. I know how to use ThreadStart but
I do not know how to call it in a loop.
Any ideas, suggestions, samples, url’s are greatly appreciated.
Thank you in advance,
--Michael