## policy_fifo_info

Structure - Specifies information associated with the system's First-In-First-Out scheduling policy.

### SYNOPSIS

    struct policy_fifo_limit
    {
           int                    max_priority;
    };

    struct policy_fifo_base
    {
           int                  base_priority;
    };

    struct policy_fifo_info
    {
           int                   max_priority;
           int                  base_priority;
           boolean_t                depressed;
           int               depress_priority;
    };

### FIELDS

max_priority
  Maximum scheduling priority

base_priority
  Scheduling priority

depressed
  True if scheduling priority is depressed

depress_priority
  Scheduling priority from which depressed

### DESCRIPTION

The policy_fifo_info structure defines the first-in-first-out scheduling policy information. FIFO threads have two priorities associated with them by the system:

- A maximum priority value which can be raised only via privileged operation so that users may not unfairly compete with other users in their processor set. Newly created threads obtain their maximum priority from that of their assigned processor set.

- A priority value which can be set by the thread to any value up to a maximum priority. Newly created threads obtain their priority from their task.

### RELATED INFORMATION

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_rr_info, policy_timeshare_info.