$proc
->SetPriorityClass($priority
)
Sets the priority class of the object to $priority. The priority can be one of the following:
IDLE_PRIORITY_CLASS
A process whose threads run only when the system is idle.
NORMAL_PRIORITY_CLASS
A process with normal scheduling.
HIGH_PRIORITY_CLASS
A process that performs time-critical tasks that must be executed immediately.
REALTIME_PRIORITY_CLASS
The highest priority process, even preempts OS threads.
Copyright © 2001 O'Reilly & Associates. All rights reserved.