*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> priocntlset (2)              
Title
Content
Arch
Section
 

priocntlset(2)

Contents


NAME    [Toc]    [Back]

       priocntlset  -  change scheduling property of a process or
       set of processes

SYNOPSIS    [Toc]    [Back]

       #include <sys/types.h> #include  <sys/procset.h>  #include
       <sys/priocntl.h>   #include   <sys/rtpriocntl.h>  #include
       <sys/tspriocntl.h>

       int priocntlset(
               procset_t *psp,
               int cmd,
               void *arg );

PARAMETERS    [Toc]    [Back]

       Specifies a pointer to a structure.  The type of structure
       depends  on  the  value  you select for the cmd parameter.
       Specifies the functions  to  be  performed.   Specifies  a
       pointer to a procset structure.

DESCRIPTION    [Toc]    [Back]

       This  function is used to change the scheduling properties
       of a running process or group  of  processes.   While  the
       priocntl(2)  function  performs the same tasks, this function
 enables you to specify the process  or  set  of  processes
 that will change in a less complicated manner.

       How  the  process  changes depends on the value you select
       for the cmd parameter.  The value of the arg parameter  is
       dependent  on  the value you select for the cmd parameter.
       See the priocntl  function  for  detailed  information  on
       these parameters.

       The  psp  parameter enables you to identify the process or
       set of processes that is to  be  affected  by  this  call.
       This  parameter  points  to  a  procset.h  structure which
       defines the selection process. In the  <sys/procset.h>,  a
       setprocset  macro is defined that displays a means of initializing
 the procset structure. For more  information  on
       this structure, see the procset(4) reference page.

RETURN VALUE    [Toc]    [Back]

       This  system  call returns the same values as the priocntl
       function.

ERRORS    [Toc]    [Back]

       This system call returns the same errors as priocntl function.

SEE ALSO    [Toc]    [Back]

      
      
       Functions:  priocntl(2)

       Files:  procset(4)



                                                   priocntlset(2)
[ Back ]
 Similar pages
Name OS Title
nice Tru64 Change the scheduling priority of a process
nice OpenBSD change process scheduling priority
sched_setscheduler Tru64 Sets the scheduling policy and scheduling parameters of the specified process (P1003.1b)
scheduler FreeBSD perform round-robin scheduling of runnable processes
curpriority_cmp FreeBSD perform round-robin scheduling of runnable processes
maybe_resched FreeBSD perform round-robin scheduling of runnable processes
schedcpu FreeBSD perform round-robin scheduling of runnable processes
resetpriority FreeBSD perform round-robin scheduling of runnable processes
setrunnable FreeBSD perform round-robin scheduling of runnable processes
roundrobin FreeBSD perform round-robin scheduling of runnable processes
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service