comparison 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
comparison
equal deleted inserted replaced
1200:d2360c870787 1201:4ea86d32c012
373 { 373 {
374 char **env; 374 char **env;
375 375
376 register int pid = getpid(); 376 register int pid = getpid();
377 377
378 setpriority (PRIO_PROCESS, pid, 0); 378 {
379 extern int emacs_priority;
380
381 nice (- emacs_priority);
382 }
379 383
380 #ifdef subprocesses 384 #ifdef subprocesses
381 /* Close Emacs's descriptors that this process should not have. */ 385 /* Close Emacs's descriptors that this process should not have. */
382 close_process_descs (); 386 close_process_descs ();
383 #endif 387 #endif