Now suppose I need to launch one parallel task for each of these.
Code: Select all
void task(server interface if i[N], in port p[N], static const size_t N)
{
par
{
subtask(i[0], p[0], 0);
subtask(i[1], p[1], 1);
...
subtask(i[N-1], p[N-1], N-1);
}
}
I'm at a loss for what words to use when searching for it.
Ta,
Dave