Lines Matching +full:cpu +full:- +full:offset
34 .Nd manage CPU affinity sets
57 per-thread mask to bind to a specific CPU or subset of CPUs and memory domains.
66 assignable on a per-process basis.
69 The anonymous set is a further thread-specific refinement on the assigned
83 .Bl -column CPU_LEVEL_CPUSET -offset indent
98 .Bl -column CPU_WHICH_INTRHANDLER -offset indent
112 of '-1' may be used with a
191 .Rv -std
193 In this example, a CPU set mask is configured to limit execution to the first
201 Then, the mask is applied to a new anonymous CPU set associated with the
206 .Bd -literal -offset indent
214 /* Initialize a CPU mask and enable CPU 0. */
218 /* Set affinity for the CPU set for the current process. */
219 if (cpuset_setaffinity(CPU_LEVEL_WHICH, CPU_WHICH_PID, -1,
224 In the next example, a named CPU set is created containing the current
226 The resulting CPU set ID can then be used for further external management of
228 .Bd -literal -offset indent
241 /* Initialize a CPU mask and enable CPU 0. */
245 /* Set affinity for the CPU set for the current process. */
253 .Bl -tag -width Er
263 call would leave a thread without a valid CPU to run on because the set