I finally managed to get multithreading successfully working on my application. Now i´d like to evaluate the results. The problem is that there is no data present as I have to wait for the threads to finish their work.
Is there is any chance to check if all of my threads have finished their work?
Here is my code that I use:
for(int i = 0; i < numberOfComputers; i++)
{
Thread thread = new Thread(() => FillData(computers[i]));
thread.Start();
}
//evaluation here
I know that this is not the cleanest and best way of multi-threading but it works great so far and is easy for me to follow.
Greetings