[PATCH] Fix nice

Ulrich Drepper drepper@redhat.com
Fri Mar 1 16:32:00 GMT 2002


Jakub Jelinek <jakub@redhat.com> writes:

> 2002-02-28  Jakub Jelinek  <jakub@redhat.com>
> 
> 	* sysdeps/unix/sysv/linux/nice.c: New file.
> 
> --- libc/sysdeps/unix/sysv/linux/nice.c.jj	Thu Feb 28 23:12:51 2002
> +++ libc/sysdeps/unix/sysv/linux/nice.c	Thu Feb 28 23:15:06 2002
> @@ -0,0 +1 @@
> +#include <sysdeps/unix/nice.c>

Why do you want to avoid using the nice() syscall?  If the syscall is
returning the wrong value this can be fixed.  But using
getpriority/setpriority seems not the smartest thing to do.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------



More information about the Libc-hacker mailing list