priocntl
() Function
Thepriocntl
() function manages the scheduling parameters of a process or set of processes. An invocation of the priocntl
() system callcan act on a LWP, on a single process, or on a group of processes. A group of processes can be identified by parent process, process group, session, user, group, class, or all active processes.
The PC_GETCLINFO
command gets a scheduler class name and parameters when the class ID is given. This command enables you to write programs that make no assumptions about what classes are configured.
The PC_SETXPARMS
command sets the scheduler class and parameters for a set of processes. The idtype
and id
input arguments specify the processes to be changed.
For more information, see the priocntl
(2) man page.