3 ms·
> Threads should be used only when true CPU concurrency is needed. Which is basically any program running on any modern processor.
by bcrosby95 7y ago
> Threads should be used only when true CPU concurrency is needed.
Which is basically any program running on any modern processor.
- AnimalMuppet 7y agoNot at all. There are multiple cores, sure, but why does my program have to use them? If it performs adequately using only one core, and if the nature of the problem doesn't require threads, why should I make it multithreaded just because the processor has multiple cores?