mirror of https://github.com/mkerrisk/man-pages
getpriority.2: BUGS: note that nice value is per-thread on Linux
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
7d928e0ddc
commit
2493644834
|
@ -220,6 +220,14 @@ structure with fields of type
|
|||
.I struct timeval
|
||||
defined in
|
||||
.IR <sys/time.h> .)
|
||||
.SH BUGS
|
||||
According to POSIX, the nice value is a per-process setting.
|
||||
However, under the current Linux/NPTL implementation of POSIX threads,
|
||||
the nice value is a per-thread attribute:
|
||||
different threads in the same process can have different nice values.
|
||||
Portable applications should avoid relying on the Linux behavior,
|
||||
which may be made standards conformant in the future.
|
||||
|
||||
.SH "SEE ALSO"
|
||||
.BR nice (1),
|
||||
.BR renice (1),
|
||||
|
|
Loading…
Reference in New Issue