[Contents] [Back] [<< Prev] [Next >>]

Starting Applications at Different Priorities

Under preemptive multitasking, Windows NT determines which application should get access to the processor for execution by using priority levels. Each application starts at a base priority level of eight. The system dynamically adjusts the priority level to give all applications access to the processor. The process or thread with the highest priority base at any one time has access to the processor. Some of the factors that cause Windows NT to adjust the priority of a thread or process include the following:
Figure 5.24 shows how Windows NT handles different priority levels.

Priority levels 0 to 15 are used by dynamic applications. Anything running at a dynamic level can be written to the Windows NT Pagefile. This includes user applications by default and operating system functions that are not imperative to the performance of the operating system. Priority levels 16 to 31 are reserved for real-time applications that cannot be written to the Windows NT Pagefile. This includes all Executive Services and the Windows NT Kernel.


Further Information