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