[patch] nice.2: wfix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 1 Nov 2022 06:10:16 +0000
Subject: [PATCH] nice.2 tfix
Signed-off-by: Locria Cyber <i+linux@xxxxxxxxxxxx>

---
 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

From 835c33dbc72abec02d49a5ac6b1b16e4d39a599b Mon Sep 17 00:00:00 2001
From: Locria Cyber <74560659+locriacyber@xxxxxxxxxxxxxxxxxxxxxxxx>
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


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux