.\" -*- coding: UTF-8 -*- .\" Copyright (C) Tom Bjorkholm & Markus Kuhn, 1996 .\" .\" SPDX-License-Identifier: GPL-2.0-or-later .\" .\" 1996-04-01 Tom Bjorkholm .\" First version written .\" 1996-04-10 Markus Kuhn .\" revision .\" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH sched_get_priority_max 2 "2023년 3월 30일" "Linux man\-pages 6.05.01" .SH 이름 sched_get_priority_max, sched_get_priority_min \- 정적 선행 범위를 가진다. .SH 라이브러리 표준 C 라이브러리 (\fIlibc\fP, \fI\-lc\fP) .SH 요약 .nf \fB#include \fP .PP \fBint sched_get_priority_max(int \fP\fIpolicy\fP\fB);\fP \fBint sched_get_priority_min(int \fP\fIpolicy\fP\fB);\fP .fi .SH 설명 \fBsched_get_priority_max\fP() returns the maximum priority value that can be used with the scheduling algorithm identified by \fIpolicy\fP. \fBsched_get_priority_min\fP() returns the minimum priority value that can be used with the scheduling algorithm identified by \fIpolicy\fP. Supported \fIpolicy\fP values are \fBSCHED_FIFO\fP, \fBSCHED_RR\fP, \fBSCHED_OTHER\fP, \fBSCHED_BATCH\fP, \fBSCHED_IDLE\fP, and \fBSCHED_DEADLINE\fP. Further details about these policies can be found in \fBsched\fP(7). .PP 수치적으로 높은 선행값의 프로세스는 수치적으로 낮은 선행값의 프로세스 보다 먼저 예정된다. 그래서 \fBsched_get_priority_max\fP()에 의해 반환되는 값은 \fBsched_get_priority_min\fP()에 의해 반환 되는 값보다 크게 된다. .PP Linux allows the static priority range 1 to 99 for the \fBSCHED_FIFO\fP and \fBSCHED_RR\fP policies, and the priority 0 for the remaining policies. Scheduling priority ranges for the various policies are not alterable. .PP .\" POSIX.1-2001, POSIX.1-2008 (XBD 2.8.4) 우선권 예약의 수준은 다른 POSIX 시스템에선 다양하다. 그러므러 이식 어플리케이션이 가상 우선권 수준을 사용하고, \fBsched_get_priority_max\fP()와 \fBsched_get_priority_min\fP()으로 주어진 간격으로 맵핑하는 것은 좋은 것이다. POSIX.1는 \fBSCHED_FIFO\fP and \fBSCHED_RR\fP를 위한 최대값과 최소값 사이의 적어도 32의 넓이가 필요하다. .PP POSIX systems on which \fBsched_get_priority_max\fP() and \fBsched_get_priority_min\fP() are available define \fB_POSIX_PRIORITY_SCHEDULING\fP in \fI\fP. .SH 반환값 On success, \fBsched_get_priority_max\fP() and \fBsched_get_priority_min\fP() return the maximum/minimum priority value for the named scheduling policy. On error, \-1 is returned, and \fIerrno\fP is set to indicate the error. .SH 에러 .TP \fBEINVAL\fP The argument \fIpolicy\fP does not identify a defined scheduling policy. .SH 표준 POSIX.1\-2008. .SH 이력 POSIX.1\-2001. .SH "추가 참조" .ad l .nh \fBsched_getaffinity\fP(2), \fBsched_getparam\fP(2), \fBsched_getscheduler\fP(2), \fBsched_setaffinity\fP(2), \fBsched_setparam\fP(2), \fBsched_setscheduler\fP(2), \fBsched\fP(7) .PP .SH 번역 이 매뉴얼 페이지의 한국어 번역은 다음에 의해 편집되었습니다: ASPLINUX . .PP 이 번역은 무료 문서입니다. 저작권 조건에 대해서는 .UR https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License 버전 3 .UE 이상을 읽으십시오. 책임이 없습니다. .PP 이 매뉴얼 페이지의 번역에서 오류를 발견하면 .MT translation-team-ko@googlegroups.com .ME 로 이메일을 보내주십시오.