4 ms·
The OP said processes on dedicated cores, so I guess they meant you should use processes if you need fewer threads than you have available cores. If that is th
by learc83 10y ago
The OP said processes on dedicated cores, so I guess they meant you should use processes if you need fewer threads than you have available cores.
If that is the case then processes could be faster than OS threads because you'd avoid context switches altogether. However, if your system supports pinning OS threads to processors and you limit the number of threads to the number of available processors, I can't think why that wouldn't be just as good.