| Click this button to go to the index for this section. |
create_pset(3)
NAME
create_pset - Creates a processor setLIBRARY
Pset Library (libpset.a) Mach Library (libmach.a)SYNOPSIS
#include <sys/types.h> #include <sys/processor.h> int create_pset(void)DESCRIPTION
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
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
/var/adm/wtmpRELATED INFORMATION
destroy_pset(3), assign_cpu_to_pset(3), assign_pid_to_pset(3), print_pset_error(3), processor_sets(4), pset_create(1)