Structure - Specifies information associated with the system's Round Robin scheduling policy.
struct policy_rr_limit
{
       int          max_priority;
};
struct policy_rr_base
{
       int         base_priority;
       int               quantum;
};
struct policy_rr_info
{
       int          max_priority;
       int         base_priority;
       int               quantum;
       boolean_t       depressed;
       int      depress_priority;
};
The policy_rr_info structure defines the round-robin scheduling policy information. Round-robin threads have two priorities associated with them by the system:
Functions: thread_info, task_info, processor_set_info, processor_set_policy_control, processor_set_policy_disable, processor_set_policy_enable, task_policy, thread_policy, thread_set_policy.
Data Structures: policy_fifo_info, policy_timeshare_info.