1*33de042dSApple OSS Distributions<h2>processor_set_create</h2> 2*33de042dSApple OSS Distributions<hr> 3*33de042dSApple OSS Distributions<p> 4*33de042dSApple OSS Distributions<strong>Function</strong> - Create a new processor set object. 5*33de042dSApple OSS Distributions<h3>SYNOPSIS</h3> 6*33de042dSApple OSS Distributions<pre> 7*33de042dSApple OSS Distributions<strong>kern_return_t processor_set_create</strong> 8*33de042dSApple OSS Distributions <strong>(host_t</strong> <var>host_name</var>, 9*33de042dSApple OSS Distributions <strong>processor_set_t</strong> <var>new_set</var>, 10*33de042dSApple OSS Distributions <strong>processor_set_name_t</strong> <var>new_name</var><strong>);</strong> 11*33de042dSApple OSS Distributions</pre> 12*33de042dSApple OSS Distributions<h3>PARAMETERS</h3> 13*33de042dSApple OSS Distributions<dl> 14*33de042dSApple OSS Distributions<dt> <var>host_name</var> 15*33de042dSApple OSS Distributions<dd> 16*33de042dSApple OSS Distributions[in host-name send right] 17*33de042dSApple OSS DistributionsThe name (or control) port for the host on 18*33de042dSApple OSS Distributionswhich the set is to be created. 19*33de042dSApple OSS Distributions<dt> <var>new_set</var> 20*33de042dSApple OSS Distributions<dd> 21*33de042dSApple OSS Distributions[out processor-set-control send right] 22*33de042dSApple OSS DistributionsControl port used for performing 23*33de042dSApple OSS Distributionsoperations on the new set. 24*33de042dSApple OSS Distributions<dt> <var>new_name</var> 25*33de042dSApple OSS Distributions<dd> 26*33de042dSApple OSS Distributions[out processor-set-name send right] 27*33de042dSApple OSS DistributionsName port used to identify the new 28*33de042dSApple OSS Distributionsset and obtain information about it. 29*33de042dSApple OSS Distributions</dl> 30*33de042dSApple OSS Distributions<h3>DESCRIPTION</h3> 31*33de042dSApple OSS Distributions<p> 32*33de042dSApple OSS DistributionsThe <strong>processor_set_create</strong> function creates a new processor 33*33de042dSApple OSS Distributionsset and returns the 34*33de042dSApple OSS Distributionstwo ports associated with it. The port returned in <var>new_set</var> is the control port 35*33de042dSApple OSS Distributionsrepresenting the set. It is used to perform operations such 36*33de042dSApple OSS Distributionsas assigning processors, 37*33de042dSApple OSS Distributionstasks or threads. The port returned in <var>new_name</var> is the name port which 38*33de042dSApple OSS Distributionsidentifies the set, and is used to obtain information about the set. 39*33de042dSApple OSS Distributions<h3>RETURN VALUES</h3> 40*33de042dSApple OSS Distributions<p> 41*33de042dSApple OSS DistributionsOnly generic values apply. 42*33de042dSApple OSS Distributions<h3>RELATED INFORMATION</h3> 43*33de042dSApple OSS Distributions<p> 44*33de042dSApple OSS DistributionsFunctions: 45*33de042dSApple OSS Distributions<a href="processor_set_destroy.html">processor_set_destroy</a>, 46*33de042dSApple OSS Distributions<a href="processor_set_info.html">processor_set_info</a>, 47*33de042dSApple OSS Distributions<a href="processor_assign.html">processor_assign</a>, 48*33de042dSApple OSS Distributions<a href="task_assign.html">task_assign</a>, 49*33de042dSApple OSS Distributions<a href="thread_assign.html">thread_assign</a>. 50