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