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;