Scheduling and Priorities
- Threads comptete for CPU time
- System responsiveness requires certain activities to have higher priority
- Java uses a pre-emptive fixed-priority scheduler
- Time slicing is implementation dependent
- Each thread has a priority in the range
Thread.MIN_PRIORITY - Thread.MAX_PRIORITY
- When created, the priority (and daemon flag) is set equal to the priority
of the thread that created it
