Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: It seems that I find a zle -F full CPU bug
- X-seq: zsh-workers 32423
- From: lilydjwg <lilydjwg@xxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: It seems that I find a zle -F full CPU bug
- Date: Sat, 22 Feb 2014 00:27:12 +0800
- Cc: Zsh hackers list <zsh-workers@xxxxxxx>
- Disposition-notification-to: missyou11@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to :disposition-notification-to:user-agent; bh=UCHzlqrzAQaaNVPQDO+LiL4EjSHuUm8alxqmc07F7lY=; b=FYGzoL7C4f1dpj0Zd/nFTGWXncOhjONoi8HLr7mWR0ptUs5Y3pPJ+OJT6Dcji2EgV/ 8r1DUua9Mhh7kHaVzNTZoRKC5zgslE5iAkU79+KpO8JTDXofBzi3MTEVPhJ8klhI8TWa DntLENB8Yo0rGuuOj77299+8yPYWQ5AMs0MhwkCLg8LTJamjFx4/tGjQVecke8A/ULvj 4d6UijTtlzo22W6NSZv3/hJzzhd6Am1R5/IkV/l6f905FVYtZrUe3wqnnivdAUPki9MA IVvhwEZs6X0D1HcRv7Leeug8lUMMgZjpZHXsOtoH9Gh/PMgTvMGeNEpFvRHvlAdz54CS 41jg==
- In-reply-to: <CAH+w=7boWTG=CFF0L66qxBvC7Bs+Neg8pUazUp7TFPiVXfgAKA@mail.gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20140220050415.GA29027@lilyforest> <CAH+w=7Z+R_ZexSkesp2z+ndooHStOGJcMeWXtD7HCunjqJp9-Q@mail.gmail.com> <20140220094053.137da74f@pwslap01u.europe.root.pri> <20140220131659.GA21182@lilyforest> <CAH+w=7ZQ3ivj3DOe0e4z7_w=Av-FvLxfxzdb3vtWQpzvhCmoLw@mail.gmail.com> <CAH+w=7boWTG=CFF0L66qxBvC7Bs+Neg8pUazUp7TFPiVXfgAKA@mail.gmail.com>
On Thu, Feb 20, 2014 at 12:47:18PM -0800, Bart Schaefer wrote:
> On Thursday, February 20, 2014, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
> wrote:
> However ... and again I may be reading this wrong ... I think the outer
> test for whether to call the handler at all will skip the handlers for FDs
> with error states. In the HAVE_POLL branch, for example, it first looks
> for the POLLIN flags but not for any error flags? So it will never reach
> the set of tests that examine POLLNVAL et al.?
Oh yes, the handler won't get POLLNVAL, but it does get POLLHUP, which
comes along with POLLIN when the peer closes the other end of a pipe (or
a socket connection I think).
--
Best regards,
lilydjwg
Messages sorted by:
Reverse Date,
Date,
Thread,
Author