mirror of https://github.com/mkerrisk/man-pages
Add BUGS text noting that the return value from Linux
sched_setschuler() does not conform to POSIX.
This commit is contained in:
parent
4407d3d81e
commit
d61ff56aa8
|
@ -320,7 +320,7 @@ The calling process does not have appropriate privileges.
|
|||
.B ESRCH
|
||||
The process whose ID is \fIpid\fP could not be found.
|
||||
.SH "CONFORMING TO"
|
||||
POSIX.1-2001.
|
||||
POSIX.1-2001 (but see BUGS below).
|
||||
The \fBSCHED_BATCH\fP policy is Linux specific.
|
||||
.SH NOTES
|
||||
POSIX.1 does not detail the permissions that an unprivileged
|
||||
|
@ -383,6 +383,14 @@ The FIFO and RR scheduling policies that can be selected using
|
|||
.BR sched_setscheduler ()
|
||||
are then used to run a process
|
||||
with true real-time priority and a minimum worst-case scheduling latency.
|
||||
.SH BUGS
|
||||
POSIX says that on success,
|
||||
.BR sched_setscheduler ()
|
||||
should return the previous scheduling policy.
|
||||
Linux
|
||||
.BR sched_setscheduler ()
|
||||
does not conform to this requirement,
|
||||
since it always returns 0 on success.
|
||||
.SH "SEE ALSO"
|
||||
.BR getpriority (2),
|
||||
.BR mlock (2),
|
||||
|
|
Loading…
Reference in New Issue