|
|
#include <sys/types.h> #include <sys/procset.h> #include <sys/priocntl.h> #include <sys/fppriocntl.h> #include <sys/tspriocntl.h>long priocntllist(lwpid_t *lwpidp, int idcnt, int cmd, void *arg);
The priocntllist system call provides the programming interface to scheduling policies and policy specific parameters for an arbitrary list of LWPs within the calling process. priocntllist has the same functions as priocntl system call, but a more general way of specifying the set of LWPs whose scheduling properties are to be changed. The input argument lwpidp points to an array in user memory of LWP IDs that identify the LWPs to which the system call applies, and idcnt is the number of elements in the array. cmd specifies the function to be performed and arg is a pointer to a structure whose type depends on cmd.