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