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

2014-04-28 Thread Samuel Thibault
Follow-up Comment #2, bug #18883 (project hurd): Well, yes, I eventually commited the change to gnumach, and the corresponding glibc change is in topgit's t/nice branch :) ___ Reply to this item at:

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

2014-04-28 Thread Justus Winter
Follow-up Comment #1, bug #18883 (project hurd): Contrary to its documentation, my gnumach has actually 50 priorities: shed.h: #define NRQS50 /* 50 run queues per cpu */ [...] #define invalid_pri(pri) (((pri) < 0) || ((pri) >= NRQS)) So we can actually have a bijective m

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

2007-01-27 Thread olafBuddenhagen
Hi, On Thu, Jan 25, 2007 at 11:22:20PM +, Samuel Thibault wrote: > Because of limitation of the Mach kernel, nice values are divided by > two for getting a Mach priority (MACH_PRIORITY_TO_NICE), and mach > priority is multiplied by two for getting a nice value > (NICE_TO_MACH_PRIORITY). > >

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

2007-01-25 Thread Samuel Thibault
URL: Summary: nice/getpriority/setpriority enforces even nice values Project: The GNU Hurd Submitted by: sthibaul Submitted on: vendredi 26.01.2007 à 00:22 Category: glibc