* [patch] nice.2: replace "thread" with "process"
@ 2022-11-01 6:17 i
2022-11-01 13:40 ` Alejandro Colomar
0 siblings, 1 reply; 2+ messages in thread
From: i @ 2022-11-01 6:17 UTC (permalink / raw)
To: linux-man; +Cc: alx.manpages, mtk.manpages
[-- Attachment #1: Type: text/plain, Size: 129 bytes --]
nice(2) in glibc uses `setpriority(PRIO_PROCESS, x)`. I think "thread"
means pthread more, so "process" is the better word here.
[-- Attachment #2: 0001-nice.2-tfix.patch --]
[-- Type: text/x-patch, Size: 701 bytes --]
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
---
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).
--
2.38.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [patch] nice.2: replace "thread" with "process"
2022-11-01 6:17 [patch] nice.2: replace "thread" with "process" i
@ 2022-11-01 13:40 ` Alejandro Colomar
0 siblings, 0 replies; 2+ messages in thread
From: Alejandro Colomar @ 2022-11-01 13:40 UTC (permalink / raw)
To: i; +Cc: mtk.manpages, linux-man
[-- Attachment #1.1: Type: text/plain, Size: 396 bytes --]
Hello,
On 11/1/22 07:17, i@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.
Could you please resend the patch following these guidelines?:
<https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/tree/CONTRIBUTING>
Thanks,
Alex
--
<http://www.alejandro-colomar.es/>
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-11-01 13:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-01 6:17 [patch] nice.2: replace "thread" with "process" i
2022-11-01 13:40 ` Alejandro Colomar
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.