C
Clive Tooth
I have an array of Actions which I kick off with a Parallel Invoke...
Action[] workers = new Action[numThreads];
...
Parallel.Invoke(workers);
Can I have an array of Action<int> s which I somehow kick off with an
array of parameters?
Action<int>[] workers = new Action<int>[numThreads];
...
Parallel.Invoke(workers, arrayOfParameters); // ... or somesuch
?
TIA
Action[] workers = new Action[numThreads];
...
Parallel.Invoke(workers);
Can I have an array of Action<int> s which I somehow kick off with an
array of parameters?
Action<int>[] workers = new Action<int>[numThreads];
...
Parallel.Invoke(workers, arrayOfParameters); // ... or somesuch
?
TIA