Does it make sense to spawn more than one thread per processor?

前端 未结 9 1245
面向向阳花
面向向阳花 2020-12-10 16:15

From a logical point of view an application may need dozens or hundreds of threads, some of which will we sleeping most of the time, but a very few will be always running co

9条回答
  •  孤城傲影
    2020-12-10 16:39

    One of the benefits is when you upgrade your hardware, which will likely get more processors/cores.

提交回复
热议问题