From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20003 invoked by alias); 10 Aug 2015 19:16:54 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 36082 Received: (qmail 13004 invoked from network); 10 Aug 2015 19:16:52 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2 autolearn=ham autolearn_force=no version=3.4.0 X-Originating-IP: [80.3.228.158] X-Spam: 0 X-Authority: v=2.1 cv=dtgmcAU4 c=1 sm=1 tr=0 a=P+FLVI8RzFchTbbqTxIDRw==:117 a=P+FLVI8RzFchTbbqTxIDRw==:17 a=NLZqzBF-AAAA:8 a=kj9zAlcOel0A:10 a=q2GGsy2AAAAA:8 a=gOKrUlUpeEkWv8zjblcA:9 a=CjuIK1q_8ugA:10 Date: Mon, 10 Aug 2015 20:11:18 +0100 From: Peter Stephenson To: Bart Schaefer Cc: zsh-workers@zsh.org Subject: Re: Wait test failure Message-ID: <20150810201118.7f9bdf5c@ntlworld.com> In-Reply-To: <150810104432.ZM6398@torch.brasslantern.com> References: <20150808200521.4e3c85d1@ntlworld.com> <20150810135050.7b8499e2@pwslap01u.europe.root.pri> <20150810161817.080bcdee@pwslap01u.europe.root.pri> <20150810164852.0e5934f4@pwslap01u.europe.root.pri> <150810104432.ZM6398@torch.brasslantern.com> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.28; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Mon, 10 Aug 2015 10:44:32 -0700 Bart Schaefer wrote: > On Aug 10, 4:48pm, Peter Stephenson wrote: > } > } Never second guess a quantity you can calculate explicitly. > > This certainly avoids the problem with lastval2 that I described in > 36079. However, I think it's still wrong to run the queued signals > from inside should_report_time() when inside wait_for_processes() ? Yes, if this is anything to go by... it's a pretty obscure problem, too, since I couldn't work out what was going on in this case. pws