From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from math.gatech.edu (euclid.skiles.gatech.edu [130.207.146.50]) by werple.net.au (8.7/8.7.1) with SMTP id IAA27763 for ; Fri, 17 Nov 1995 08:54:08 +1100 (EST) Received: by math.gatech.edu (5.x/SMI-SVR4) id AA05899; Thu, 16 Nov 1995 16:35:09 -0500 Resent-Date: Thu, 16 Nov 1995 21:35:31 +0000 (GMT) Old-Return-Path: From: Zefram Message-Id: <16203.199511162135@stone.dcs.warwick.ac.uk> Subject: Re: Pid or not pid To: coleman@math.gatech.edu (Richard Coleman) Date: Thu, 16 Nov 1995 21:35:31 +0000 (GMT) Cc: zsh-workers@math.gatech.edu In-Reply-To: <199511161825.NAA27010@redwood.skiles.gatech.edu> from "Richard Coleman" at Nov 16, 95 01:25:32 pm X-Loop: zefram@dcs.warwick.ac.uk X-Stardate: [-31]6604.49 Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Resent-Message-Id: <"QTlQt3.0.5S1.Cwwgm"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/621 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu >> 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