System Interface Guide

The priocntlset() Function

The priocntlset(2) function changes scheduler parameters of a set of processes, like priocntl. priocntlset has the same command set as priocntl. The cmd and arg input arguments are the same. But while priocntl applies to a set of processes specified by a single idtype/id pair, priocntlset applies to a set of processes that results from a logical combination of two idtype/id pairs. Again, refer to the manual page for details.

An example of using priocntlset() to change the priority of a real-time processes without changing time-sharing processes with the same user ID to real-time processes is in Example A-4.