12/29/2008

A priority of a thread

Every thread has a priority.
Use the setPriority method to specify the priority.
Priorities range from 1 to 10.
It is not assured that waiting threads start in order of priority.
Therefore, it is not recommended to write a program depending on threads' priorities.