Name

SetPriorityClass

Synopsis

$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 whith threads that 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 operating-system threads

Get Perl in a Nutshell, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.