sched.h

    PROCESS

    Description:

    Provides process- and thread-related structures and functions (for example, obtaining scheduling policies and parameters).

    Since:

    1.0

    Version:

    1.0

    Function Name

    Description

    sched_get_priority_max (int policy)

    int 

    Obtains the maximum static priority that can be used for a process.

    (int policy)

    int 

    Obtains the minimum static priority that can be used for a process.

    sched_getparam (pid_t pid, struct param)

    int 

    Obtains scheduling parameters of a process.

    sched_getscheduler (pid_t pid)

    Obtains the scheduling policy of a process.

    (pid_t pid, struct timespec interval)

    int 

    Obtains the execution time limit of a process.

    (pid_t pid, const struct sched_param param)

    int 

    Sets scheduling parameters related to a scheduling policy for a process.

    (pid_t pid, int policy, const struct sched_param param)

    int 

    Sets a scheduling policy for a process.

    (void)

    int