DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

priocntllist(2)


priocntllist -- generalized process scheduler control for a set of LWPs

Synopsis

   #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);

Description

priocntllist supports the same capabilities as priocntl, but provides an interface for specifying an arbitrary set of LWPs within the calling process to which the system call applies.


cmd
specifies the function to be performed.

arg
is a pointer to a structure whose type depends on cmd. See priocntl(2) for the valid values of cmd and the corresponding arg structures.

lwpid
is a pointer to an array in user memory of LWP IDs that identify the LWPs to which the system call applies.

idcnt
is the number of elements in the array. If one or more of the LWPs specified by the lwpid array do not exist, priocntllist performs the operation on all LWPs specified in the lwpid array that do exist, and then returns failure with errno set to ESRCH.

Return values

priocntllist has the same return values as priocntl(2).

Errors

priocntllist has the same errors as priocntl(2).

References

priocntl(1), priocntl(2)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004