Content-type: text/html Man page of create_pset

create_pset

Section: C Library Functions (3)
Index Return to Main Contents
 

NAME

create_pset - Creates a processor set  

LIBRARY

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/wtmp  

RELATED INFORMATION

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


 

Index

NAME
LIBRARY
SYNOPSIS
DESCRIPTION
RETURN VALUES
FILES
RELATED INFORMATION

This document was created by man2html, using the manual pages.
Time: 02:41:18 GMT, October 02, 2010