xref: /xnu-8020.140.41/osfmk/man/processor_set_default.html (revision 27b03b360a988dfd3dfdf34262bb0042026747cc)
1*27b03b36SApple OSS Distributions<h2>processor_set_default</h2>
2*27b03b36SApple OSS Distributions<hr>
3*27b03b36SApple OSS Distributions<p>
4*27b03b36SApple OSS Distributions<strong>Function</strong> - Return the default processor set.
5*27b03b36SApple OSS Distributions<h3>SYNOPSIS</h3>
6*27b03b36SApple OSS Distributions<pre>
7*27b03b36SApple OSS Distributions<strong>kern_return_t	processor_set_default</strong>
8*27b03b36SApple OSS Distributions		<strong>(host_t</strong>	<var>host</var>,
9*27b03b36SApple OSS Distributions		<strong>processor_set_name_t</strong>	<var>default_set_name</var><strong>);</strong>
10*27b03b36SApple OSS Distributions</pre>
11*27b03b36SApple OSS Distributions<h3>PARAMETERS</h3>
12*27b03b36SApple OSS Distributions<dl>
13*27b03b36SApple OSS Distributions<dt> <var>host</var>
14*27b03b36SApple OSS Distributions<dd>
15*27b03b36SApple OSS Distributions[in host-name send right]
16*27b03b36SApple OSS DistributionsThe name (or control) port for the host for
17*27b03b36SApple OSS Distributionswhich the default processor set is desired.
18*27b03b36SApple OSS Distributions<dt> <var>default_set_name</var>
19*27b03b36SApple OSS Distributions<dd>
20*27b03b36SApple OSS Distributions[out processor-set-name send right]
21*27b03b36SApple OSS DistributionsThe returned name port for the
22*27b03b36SApple OSS Distributionsdefault processor set.
23*27b03b36SApple OSS Distributions</dl>
24*27b03b36SApple OSS Distributions<h3>DESCRIPTION</h3>
25*27b03b36SApple OSS Distributions<p>
26*27b03b36SApple OSS DistributionsThe <strong>processor_set_default</strong> function returns the name
27*27b03b36SApple OSS Distributionsport for the default
28*27b03b36SApple OSS Distributionsprocessor set for the specified host.  The default processor
29*27b03b36SApple OSS Distributionsset is used by all threads,
30*27b03b36SApple OSS Distributionstasks and processors that are not explicitly assigned to other sets.
31*27b03b36SApple OSS Distributions<h3>RETURN VALUES</h3>
32*27b03b36SApple OSS Distributions<p>
33*27b03b36SApple OSS DistributionsOnly generic errors apply.
34*27b03b36SApple OSS Distributions<h3>RELATED INFORMATION</h3>
35*27b03b36SApple OSS Distributions<p>
36*27b03b36SApple OSS DistributionsFunctions:
37*27b03b36SApple OSS Distributions<a href="processor_set_info.html">processor_set_info</a>,
38*27b03b36SApple OSS Distributions<a href="thread_assign.html">thread_assign</a>,
39*27b03b36SApple OSS Distributions<a href="task_assign.html">task_assign</a>.
40