[patch] nice.2: wfix
Alejandro Colomar
alx.manpages@gmail.com
Sun Dec 11 17:33:36 GMT 2022
Hi glibc developers,
On 11/2/22 02:50, i+linux@1a-insec.net wrote:
> nice(2) in glibc uses `setpriority(PRIO_PROCESS, x)`. I think "thread" means
> pthread more, so "process" is the better word here.
>
> The patch is below:
>
>
> From 835c33dbc72abec02d49a5ac6b1b16e4d39a599b Mon Sep 17 00:00:00 2001
> From: Locria Cyber <74560659+locriacyber@users.noreply.github.com>
> Date: Tue, 1 Nov 2022 06:10:16 +0000
> Subject: [PATCH] nice.2 tfix
> Signed-off-by: Locria Cyber <i+linux@1a.insec.net>
I never used this syscall. Could any of you please review this patch?
Cheers,
Alex
>
> ---
> man2/nice.2 | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/man2/nice.2 b/man2/nice.2
> index f4e2406..2ecd743 100644
> --- a/man2/nice.2
> +++ b/man2/nice.2
> @@ -36,7 +36,7 @@ Feature Test Macro Requirements for glibc (see
> .BR nice ()
> adds
> .I inc
> -to the nice value for the calling thread.
> +to the nice value for the calling process.
> (A higher nice value means a lower priority.)
> .PP
> The range of the nice value is +19 (low priority) to \-20 (high priority).
--
<http://www.alejandro-colomar.es/>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://sourceware.org/pipermail/libc-alpha/attachments/20221211/091219a5/attachment.sig>
More information about the Libc-alpha
mailing list