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

  man pages->Tru64 Unix man pages -> create_pset (3)              
Title
Content
Arch
Section
 

create_pset(3)

Contents


NAME    [Toc]    [Back]

       create_pset - Creates a processor set

SYNOPSIS    [Toc]    [Back]

       #include <sys/types.h> #include <sys/processor.h>

       int create_pset(
               void );

LIBRARY    [Toc]    [Back]

       Pset Library (libpset)

       Mach Library (libmach)

DESCRIPTION    [Toc]    [Back]

       The create_pset() function creates an empty processor set.
       Processes that are assigned to an empty processor set cannot
 run until a processor is assigned to the set. You must
       have root privileges.

RETURN VALUES    [Toc]    [Back]

       If the create_pset() function completes  successfully,  it
       returns  a positive integer, which uniquely identifies the
       processor set.  If the  create_pset()  function  does  not
       complete  successfully,  it returns a negative number. Use
       the print_pset_error() function  to  print  a  descriptive
       error message.

       Processor  set  creations  are logged in the /var/adm/wtmp
       file.

FILES    [Toc]    [Back]

       /var/adm/wtmp

SEE ALSO    [Toc]    [Back]

      
      
       destroy_pset(3),                    assign_cpu_to_pset(3),
       assign_pid_to_pset(3),     print_pset_error(3),    processor_sets(4), pset_create(1)



                                                   create_pset(3)
[ Back ]
 Similar pages
Name OS Title
pset_assign_cpu Tru64 Assigns a processor to a processor set
assign_cpu_to_pset Tru64 Assigns a processor to a processor set
m4 IRIX macro processor
sched_yield IRIX yield the processor
pset_destroy Tru64 Destroys a processor set
pset_destroy HP-UX destroy a processor set
m4 Tru64 GNU m4 macro processor
halt Tru64 Stops the processor
sched_yield FreeBSD yield processor
pset_ctl HP-UX processor set control
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service