.\" -*- coding: UTF-8 -*- .\" Copyright (C) Tom Bjorkholm & Markus Kuhn, 1996 .\" .\" %%%LICENSE_START(GPLv2+_DOC_FULL) .\" This is free documentation; you can redistribute it and/or .\" modify it under the terms of the GNU General Public License as .\" published by the Free Software Foundation; either version 2 of .\" the License, or (at your option) any later version. .\" .\" The GNU General Public License's references to "object code" .\" and "executables" are to be interpreted as the output of any .\" document formatting or typesetting system, including .\" intermediate and printed output. .\" .\" This manual is distributed in the hope that it will be useful, .\" but WITHOUT ANY WARRANTY; without even the implied warranty of .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the .\" GNU General Public License for more details. .\" .\" You should have received a copy of the GNU General Public .\" License along with this manual; if not, see .\" . .\" %%%LICENSE_END .\" .\" 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 "15 Septiembre 2017" Linux "Manual del Programador de Linux" .SH NOMBRE sched_get_priority_max, sched_get_priority_min \- obtienen el rango de prioridades estáticas .SH SINOPSIS \fB#include \fP .PP \fBint sched_get_priority_max(int \fP\fIpolitica\fP\fB);\fP .PP \fBint sched_get_priority_min(int \fP\fIpolitica\fP\fB);\fP .SH DESCRIPCIÓN \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 Los procesos con valores de prioridad numéricamente más altos se planifican para antes que los procesos con valores de prioridad numéricamente más bajos. Así, el valor devuelto por \fBsched_get_priority_max\fP() será mayor que el devuelto por \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) El rango de prioridades de planificación puede variar en otros sistemas POSIX, así que es una buena idea para aplicaciones transportables el emplear un rango virtual de prioridad y asociarlo luego al intervalo dado por \fBsched_get_priority_max\fP() y \fBsched_get_priority_min\fP POSIX.1 requiere un rango de al menos 32 entre los valores máximo y mínimo para \fBSCHED_FIFO\fP y \fBSCHED_RR\fP. .PP Los sistemas POSIX en los cuales están disponibles \fBsched_get_priority_max\fP() y \fBsched_get_priority_min\fP() definen \fB_POSIX_PRIORITY_SCHEDULING\fP en \fI\fP. .SH "VALOR DEVUELTO" En caso de éxito, \fBsched_get_priority_max\fP() y \fBsched_get_priority_min\fP() devuelven el valor de prioridad máximo/mínimo para la política de planificación especificada. En caso de error, se devuelve \-1 y se pone en \fIerrno\fP un valor apropiado. .SH ERRORES .TP \fBEINVAL\fP The argument \fIpolicy\fP does not identify a defined scheduling policy. .SH "CONFORME A" POSIX.1\-2001, POSIX.1\-2008. .SH "VÉASE TAMBIÉN" .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) .SH COLOFÓN Esta página es parte de la versión 5.10 del proyecto Linux \fIman\-pages\fP. Puede encontrar una descripción del proyecto, información sobre cómo informar errores y la última versión de esta página en \%https://www.kernel.org/doc/man\-pages/. .PP .SH TRADUCCIÓN La traducción al español de esta página del manual fue creada por Gerardo Aburruzaga García . .PP Esta traducción es documentación libre; lea la .UR https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 .UE o posterior con respecto a las condiciones de copyright. No existe NINGUNA RESPONSABILIDAD. .PP Si encuentra algún error en la traducción de esta página del manual, envíe un correo electrónico a .MT debian-l10n-spanish@lists.debian.org .ME .