Contains thread scheduling information for a policy.
#include <sched.h>
struct sched_param
{
int sched_priority;
int sched_ss_low_priority;
struct timespec sched_ss_repl_period;
struct timespec sched_ss_init_budget;
int sched_ss_max_repl;
int sched_policy;
};
Specifies the priority of the thread.
Specifies a low scheduling priority.
Specifies a replenishment period. For information about the timespec structure, see timespec_t, which is also called timespec.
Specifies an initial budget.For information about the timespec structure, see timespec_t, which is also called timespec.
Specifies the maximum pending replenishments.
Specifies the scheduling policy of the thread. For a list of possible values, see Section 55.1.1, Schedule Policies.
This structure is used by all supported policies. For a list of supported policies, see Section 55.1.1, Schedule Policies.