Registrations are now open. Join us today!
There is still a lot of work to do on the wiki yet! More information about editing can be found here.
Already have an account?

Microsoft KB Archive/103810

From BetaArchive Wiki
Knowledge Base


Realtime Priority Applications And Windows NT

Article ID: 103810

Article Last Modified on 10/31/2006



APPLIES TO

  • Microsoft Windows NT Advanced Server 3.1
  • Microsoft Windows NT Workstation 3.1
  • Microsoft Windows NT Advanced Server 3.1



This article was previously published under Q103810

SUMMARY

An application that is running in the RealTime priority class (a base priority of 16) can potentially take so much of the available CPU resources that no resources will be available for other processes or threads. This includes a possible "starving" of both the mouse and keyboard. This implies that the mouse may become unavailable to click another application to execute an action. It also implies that the keyboard may not respond if you try to press CTRL+ESC to get the Task List and Cancel the application.

To run a process or thread in the RealTime priority class requires that you either be an administrator, a member of the administrator's group, or have the Increase Scheduling Priority user right (SeIncreaseBasePriorityPrivilege) explicitly granted to you. Administrators must use caution when granting this right to users.

MORE INFORMATION

Only Windows 32-bit applications can be scheduled for RealTime and High priorities. Windows 16-bit, MS-DOS, OS/2, and POSIX applications may only run at a priority of Normal (maximum base priority of 7). Also, if a process has a Low priority, all processes spawned from it (children) will inherit the Low priority, but if the process has a High priority, all children will be assigned a Normal priority.

   Default Priority Bases
   ----------------------

   Low:        4
   Normal:     7
   High:      13
   RealTime:  24
                

Note that many items can influence this base priority, including user groups (administrators versus users), how tasking is set up in the Control Panel System option, and whether the application is in the foreground or background.


Additional query words: prodnt lockup CPU-bound real time

Keywords: kbenv KB103810