You are viewing the version of this documentation from Perl blead. This is the main development branch of Perl. (git commit 934f1799d94811927734c8097aee3d6a4889e4e9)
setpriority WHICH,WHO,PRIORITY

Sets the current priority for a process, a process group, or a user. (See setpriority(2).) Raises an exception when used on a machine that doesn't implement setpriority(2).

WHICH can be any of PRIO_PROCESS, PRIO_PGRP or PRIO_USER imported from "RESOURCE CONSTANTS" in POSIX.

Portability issues: "setpriority" in perlport.