Structure - Specifies information associated with the system's Timeshare scheduling policy.
Maximum scheduling priority.
Base scheduling priority.
Current scheduling priority.
True if scheduling priority is depressed.
Scheduling priority from which depressed.
The policy_timeshare_info structure defines the timeshare
Timeshare threads have three 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.
A scheduled priority value which is used to make scheduling decisions for
the thread. This value is determined on the basis of the user
priority value by
the scheduling policy (for time-sharing, this means adding an increment
derived from CPU usage).