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