X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/9bccf70c0258c7cac2dcb80011b2a964d884c552..39236c6e673c41db228275375ab7fdb0f837b292:/osfmk/man/P_set_policy_enable.html?ds=sidebyside diff --git a/osfmk/man/P_set_policy_enable.html b/osfmk/man/P_set_policy_enable.html old mode 100755 new mode 100644 index 8bb760d6a..966c80d95 --- a/osfmk/man/P_set_policy_enable.html +++ b/osfmk/man/P_set_policy_enable.html @@ -1 +1,38 @@ -

processor_set_policy_enable


Function - Enables a scheduling policy for a processor set.

SYNOPSIS

#include< mach/mach_host.h>

kern_return_t	processor_set_policy_enable
		(processor_set_t	processor_set,
		int	policy);

PARAMETERS

processor_set
[in processor-set-control port] The control port for the processor set for which a scheduling policy is to be enabled.
policy
[in scalar] Policy to be enabled. The values currently defined are POLICY_TIMESHARE and POLICY_FIXEDPRI.

DESCRIPTION

The processor_set_policy_enable function extends the set of scheduling policies allowed for processor_set. The set of scheduling policies allowed for a processor set is the set of policies allowed to be set for threads assigned to that processor set. The current set of permitted policies can be obtained from processor_set_info.

RETURN VALUES

Only generic errors apply.

RELATED INFORMATION

Functions: processor_set_info, processor_set_policy_disable, thread_policy. \ No newline at end of file +

processor_set_policy_enable

+
+

+Function - Enables a scheduling policy for a processor set. +

SYNOPSIS

+
+#include< mach/mach_host.h>
+
+kern_return_t	processor_set_policy_enable
+		(processor_set_t	processor_set,
+		int	policy);
+
+

PARAMETERS

+
+
processor_set +
+[in processor-set-control port] The control port for the processor set for which a scheduling policy is to be enabled. +
policy +
+[in scalar] Policy to be enabled. The values currently defined are POLICY_TIMESHARE and POLICY_FIXEDPRI. +
+

DESCRIPTION

+

+The processor_set_policy_enable +function extends the set of scheduling policies allowed for +processor_set. The set of scheduling policies allowed for a +processor set is the set of policies allowed to be set for threads +assigned to that processor set. The current set of permitted policies +can be obtained from processor_set_info. +

RETURN VALUES

+

+Only generic errors apply. +

RELATED INFORMATION

+

+Functions: +processor_set_info, +processor_set_policy_disable, +thread_policy.