Thread Priorities : Thread Priority « Thread « SCJP






Thread objects have Priority from 1 through 10, with 10 being the most urgent. 

The JVM Thread scheduler tries to run the highest priority available Thread. 

The constants Thread.MIN_PRIORITY, Thread.MAX_PRIORITY, and Thread.NORM_PRIORITY have the values 1, 10, and 5, respectively. 

If not explicitly set, a thread's priority will have the same priority as the priority of the thread that created it.

If you want to have a particular priority, you should call setPriority before starting the Thread.








7.3.Thread Priority
7.3.1.Thread Priorities
7.3.2.Thread class defines constants for MIN_PRIORITY (which is 1) and NORM_PRIORITY (which is 5).
7.3.3.Every thread has a priority, which is an integer from 1 to 10
7.3.4.The default priority is 5