C
CodeKhaleesi
Guest
Hi,
I have been trying Multi-Threading inside a for loop. Every time the control goes into for loop it should start a Thread. After the for loop condition ends threads should join. The Basic Block of the code will look like,
for()
{
Function(Arguments); // runs a thread function every time entering this for loop.
}
Function.join(); //joining all threads
how do i proceed with this?.. Should I use Windows API or std::thread()?
Continue reading...
I have been trying Multi-Threading inside a for loop. Every time the control goes into for loop it should start a Thread. After the for loop condition ends threads should join. The Basic Block of the code will look like,
for()
{
Function(Arguments); // runs a thread function every time entering this for loop.
}
Function.join(); //joining all threads
how do i proceed with this?.. Should I use Windows API or std::thread()?
Continue reading...