Mercurial > emacs
diff src/callproc.c @ 1201:4ea86d32c012
* callproc.c (child_setup): Don't use setpriority; we just need a
simple, portable call to nice here.
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Wed, 23 Sep 1992 03:43:10 +0000 |
parents | 928ed74adf4f |
children | e074a2236b00 |
line wrap: on
line diff
--- a/src/callproc.c Tue Sep 22 06:43:04 1992 +0000 +++ b/src/callproc.c Wed Sep 23 03:43:10 1992 +0000 @@ -375,7 +375,11 @@ register int pid = getpid(); - setpriority (PRIO_PROCESS, pid, 0); + { + extern int emacs_priority; + + nice (- emacs_priority); + } #ifdef subprocesses /* Close Emacs's descriptors that this process should not have. */