Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: GetPriorityClassChapter 19
Win32 Modules and Extensions
Next: Reference: GetExitCode
 

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.


Previous: Reference: GetPriorityClassPerl in a NutshellNext: Reference: GetExitCode
Reference: GetPriorityClassBook IndexReference: GetExitCode