Step 1 : Turn on openMP flag
Step 2 : Add #pragma omp parallel for to the existing for statement like so
#pragma omp parallel for
for ( int i = 0; i < parlist.count(); i++)
{
// Do your code here.
// Cannot jump out of for loop. No breaks, no returns.
}
Step 3 : Profit!