4 ms·
Why processes vs os-level threads?
by auxym 10y ago
Why processes vs os-level threads?
- learc83 10y agoThe 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.