1 .\"
2 .\" Mach Operating System
3 .\" Copyright (c) 1991,1990 Carnegie Mellon University
4 .\" All Rights Reserved.
5 .\"
6 .\" Permission to use, copy, modify and distribute this software and its
7 .\" documentation is hereby granted, provided that both the copyright
8 .\" notice and this permission notice appear in all copies of the
9 .\" software, derivative works or modified versions, and any portions
10 .\" thereof, and that both notices appear in supporting documentation.
11 .\"
12 .\" CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
13 .\" CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
14 .\" ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
15 .\"
16 .\" Carnegie Mellon requests users of this software to return to
17 .\"
18 .\" Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
19 .\" School of Computer Science
20 .\" Carnegie Mellon University
21 .\" Pittsburgh PA 15213-3890
22 .\"
23 .\" any improvements or extensions that they make and grant Carnegie Mellon
24 .\" the rights to redistribute these changes.
25 .\"
26 .\"
27 .\" HISTORY
28 .\" $Log: processor_set_create.man,v $
29 .\" Revision 2.5 93/03/18 15:14:11 mrt
30 .\" corrected types
31 .\" [93/03/11 12:53:53 lli]
32 .\"
33 .\" Revision 2.4 91/05/14 17:11:15 mrt
34 .\" Correcting copyright
35 .\"
36 .\" Revision 2.3 91/02/14 14:13:53 mrt
37 .\" Changed to new Mach copyright
38 .\" [91/02/12 18:14:38 mrt]
39 .\"
40 .\" Revision 2.2 90/08/07 18:42:18 rpd
41 .\" Created.
42 .\"
43 .TH processor_set_create 2 8/13/89
44 .CM 4
45 .SH NAME
46 .nf
47 processor_set_create \- create a new processor set
48 .SH SYNOPSIS
49 .nf
50 .ft B
51 #include <mach.h>
52
53 .nf
54 .ft B
55 kern_return_t processor_set_create(host, new_set, new_name)
56 mach_port_t host;
57 mach_port_t *new_set;
58 mach_port_t *new_name;
59
60
61 .fi
62 .ft P
63 .SH ARGUMENTS
64 .TP 15
65 .B
66 host
67 The host on which the new set is to be created.
68 .TP 15
69 .B
70 new_set
71 Port used for performing operations on the new set.
72 .TP 15
73 .B
74 new_name
75 Port used to identify the new set and obtain information about it.
76
77 .SH DESCRIPTION
78 .B processor_set_create
79 creates a new processor set and returns
80 the two ports associated with it. The port returned in
81 .B new_set
82 is the actual port representing the set. It is used to perform
83 operations such as assigning processors, tasks, or threads.
84 The port returned in
85 .B new_name
86 identifies the set, and is used to obtain information about the set.
87
88 .SH DIAGNOSTICS
89 .TP 25
90 KERN_SUCCESS
91 The call succeeded.
92 .TP 25
93 KERN_INVALID_ARGUMENT
94 .B host
95 was not a host.
96 .TP 25
97 KERN_INVALID_ADDRESS
98 .B new_set
99 and/or
100 .B new_name
101 point to inaccessible memory.
102 .TP 25
103 KERN_FAILURE
104 The operating system does not support processor allocation.
105
106 .SH BUGS
107 Availability limited.
108
109 .SH SEE ALSO
110 .B processor_set_destroy, processor_set_info, processor_assign, task_assign,
111 .B thread_assign
112
Cache object: 0ba40cd3b359ce174cb53d0c82c73a68
|