zsh-workers
 help / color / mirror / code / Atom feed
From: lilydjwg <lilydjwg@gmail.com>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: Zsh hackers list <zsh-workers@zsh.org>
Subject: Re: It seems that I find a zle -F full CPU bug
Date: Sat, 22 Feb 2014 00:27:12 +0800	[thread overview]
Message-ID: <20140221162712.GA14286@lilyforest> (raw)
In-Reply-To: <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@brasslantern.com>
> 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


  reply	other threads:[~2014-02-21 16:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20140220050415.GA29027@lilyforest>
     [not found] ` <CAH+w=7Z+R_ZexSkesp2z+ndooHStOGJcMeWXtD7HCunjqJp9-Q@mail.gmail.com>
     [not found]   ` <20140220094053.137da74f@pwslap01u.europe.root.pri>
     [not found]     ` <20140220131659.GA21182@lilyforest>
2014-02-20 19:36       ` Bart Schaefer
2014-02-20 20:04         ` Peter Stephenson
2014-02-20 20:47         ` Bart Schaefer
2014-02-21 16:27           ` lilydjwg [this message]
2014-02-23 23:07           ` Bart Schaefer
2014-02-24 13:53             ` lilydjwg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140221162712.GA14286@lilyforest \
    --to=lilydjwg@gmail.com \
    --cc=schaefer@brasslantern.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).