Java Thread not uses all cores

后端 未结 0 815
春和景丽
春和景丽 2020-11-29 07:07

I am currently trying to implement quick sort algorithm using threads. But thraeds occupy only one CPU out of four. Here is my code:

import java.util.Random;
         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题