bug-hurd
[Top][All Lists]
Advanced

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

[bug #18883] nice/getpriority/setpriority enforces even nice values


From: Justus Winter
Subject: [bug #18883] nice/getpriority/setpriority enforces even nice values
Date: Mon, 28 Apr 2014 16:48:44 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.116 Safari/537.36

Follow-up Comment #1, bug #18883 (project hurd):

Contrary to its documentation, my gnumach has actually 50 priorities:

shed.h:
#define NRQS    50                      /* 50 run queues per cpu */
[...]
#define invalid_pri(pri) (((pri) < 0) || ((pri) >= NRQS))

So we can actually have a bijective mapping from Mach priorities to posix nice
values.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?18883>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]