Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Pid or not pid
- X-seq: zsh-workers 621
- From: Zefram <A.Main@xxxxxxxxxxxxxxxxx>
- To: coleman@xxxxxxxxxxxxxxx (Richard Coleman)
- Subject: Re: Pid or not pid
- Date: Thu, 16 Nov 1995 21:35:31 +0000 (GMT)
- Cc: zsh-workers@xxxxxxxxxxxxxxx
- In-reply-to: <199511161825.NAA27010@xxxxxxxxxxxxxxxxxxxxxxxxx> from "Richard Coleman" at Nov 16, 95 01:25:32 pm
>> Some of the code in execcmd() is getting executed in the parent rather
>> than the child, presumably since the last rearrangement... in
>> particular, nice(5) is getting called if fork() returned a non-zero
>> pid, i.e. in the parent (line 1350 of exec.c). This means each time a
>> background process is forked, the parent shell has a lower priority.
>> This may be a good way to deal with process hogs, but I don't think
>> it's what's intended.
>
>err... No I didn't intend that. But maybe we should leave it
>as an option :-)
One has to wonder, though, whether this FG_NICE option should be on by
default. Obviously, the maximally backward compatible choice would be
for it to be on. (-:
-zefram
Messages sorted by:
Reverse Date,
Date,
Thread,
Author