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)
subtask(i, p, 0);
subtask(i, p, 1);
subtask(i[N-1], p[N-1], N-1);
Is there a notation for doing this?
I'm at a loss for what words to use when searching for it.