diff options
| author | Richard M. Stallman | 1994-04-28 05:44:54 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-04-28 05:44:54 +0000 |
| commit | 5b633aeb249902d98d1cc79cc2d7f980065a1a31 (patch) | |
| tree | 97cdc5f7786e1277a38003dc00d18e3901c74b8f /src | |
| parent | 280ec6c2d45497810dc0c4327472bf2d358f7cd3 (diff) | |
| download | emacs-5b633aeb249902d98d1cc79cc2d7f980065a1a31.tar.gz emacs-5b633aeb249902d98d1cc79cc2d7f980065a1a31.zip | |
(child_setup): Test PRIO_PROCESS, as in sys_subshell.
Diffstat (limited to 'src')
| -rw-r--r-- | src/callproc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/callproc.c b/src/callproc.c index 9836b65f529..d612a7f94c1 100644 --- a/src/callproc.c +++ b/src/callproc.c | |||
| @@ -558,11 +558,13 @@ child_setup (in, out, err, new_argv, set_pgrp, current_dir) | |||
| 558 | 558 | ||
| 559 | int pid = getpid (); | 559 | int pid = getpid (); |
| 560 | 560 | ||
| 561 | #ifdef PRIO_PROCESS | ||
| 561 | { | 562 | { |
| 562 | extern int emacs_priority; | 563 | extern int emacs_priority; |
| 563 | 564 | ||
| 564 | nice (- emacs_priority); | 565 | nice (- emacs_priority); |
| 565 | } | 566 | } |
| 567 | #endif | ||
| 566 | 568 | ||
| 567 | #ifdef subprocesses | 569 | #ifdef subprocesses |
| 568 | /* Close Emacs's descriptors that this process should not have. */ | 570 | /* Close Emacs's descriptors that this process should not have. */ |