Reference: SetPriorityClass
Author: Ellen Siever, Stephen Spainhour & Nathan Patwardhan
Date: 1999-07-02T02:00:02Z

#

| Chapter 19 Win32 Modules and Extensions |

## SetPriorityClass

    $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.

Reference: GetPriorityClass |  | Reference: GetExitCode