chapter  6
20 Thread Internals
Pages 5

When the scheduler needs to select a thread for execution, it chooses a ready thread with the highest priority. To determine such a thread, the scheduler first determines the priority of the next ready thread. In order to get this priority, the scheduler consults the map of ready thread priorities. Figure 6.19 shows an example of this priority map.