G
Gilgamesh
Hello,
I have a main program which is supposed to loop through a datareader and
then spawn a thread each time it goes through the loop. Each thread will be
generating a report. Once the thread completed the report it should notify
the main progam that it's done. The main program should wait untill all the
threads have been completed. What's an efficient way to do this?
Thanks,
Gilgamesh
I have a main program which is supposed to loop through a datareader and
then spawn a thread each time it goes through the loop. Each thread will be
generating a report. Once the thread completed the report it should notify
the main progam that it's done. The main program should wait untill all the
threads have been completed. What's an efficient way to do this?
Thanks,
Gilgamesh