Re: [patch] nice.2: wfix

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

 



Hi glibc developers,

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

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

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


[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