Index of Section 2 Manual Pages

Interix / SUAsched_get_priority_min.2Interix / SUA

sched_get_priority_min(2)                     sched_get_priority_min(2)

  sched_get_priority_max()

  NAME

    sched_get_priority_max(), sched_get_priority_min - get scheduling priority
    limits

  SYNOPSIS

    #include 

    int sched_get_priority_max(int policy);
    int sched_get_priority_min(int policy);

  DESCRIPTION

    The sched_get_priority_min(2) and sched_get_priority_max(2) functions
    return the minimum and maximum scheduling priority values for the
    scheduling policy specified by the policy argument.

  IMPLEMENTATION ISSUES

    In this version of Interix, this function supports only the SCHED_OTHER
    scheduling policy but will not return an error if it is called with policy
    set to any other scheduling policy value.

  RETURN VALUES

    On success, the functions returns the appropriate minimum or maximum
    value; otherwise, the functions return -1 and set errno to indicate the
    error.

  ERRORS

    Both functions can fail for the following reason:

    [EINVAL]
        The policy argument does not specify a defined scheduling policy.

  SEE ALSO

    pthread_setschedprio(2)

  USAGE NOTES

    All of these functions are thread safe.

    None of these functions are async-signal safe.


Interix / SUAHosted at SUA Community for Interix, SUA and SFUInterix / SUA