From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27947 invoked by alias); 20 Feb 2014 20:04:29 -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: 32418 Received: (qmail 3902 invoked from network); 20 Feb 2014 20:04:24 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-Originating-IP: [86.6.157.246] X-Spam: 0 X-Authority: v=2.1 cv=L4GTQoj8 c=1 sm=1 tr=0 a=BvYiZ/UW0Fmn8Wufq9dPrg==:117 a=BvYiZ/UW0Fmn8Wufq9dPrg==:17 a=NLZqzBF-AAAA:8 a=VKnHfzyV4jkA:10 a=uObrxnre4hsA:10 a=kj9zAlcOel0A:10 a=c1Zvh6jIL88A:10 a=q2GGsy2AAAAA:8 a=VulD9RubodjvDnDBvHMA:9 a=CjuIK1q_8ugA:10 a=I6wTmPyJxzYA:10 Date: Thu, 20 Feb 2014 20:04:19 +0000 From: Peter Stephenson To: Zsh hackers list Subject: Re: It seems that I find a zle -F full CPU bug Message-ID: <20140220200419.37abbdce@pws-pc.ntlworld.com> In-Reply-To: References: <20140220050415.GA29027@lilyforest> <20140220094053.137da74f@pwslap01u.europe.root.pri> <20140220131659.GA21182@lilyforest> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.7; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Thu, 20 Feb 2014 11:36:26 -0800 Bart Schaefer wrote: > This is going to require more #ifdef's to examine fds[] in the poll() case > and the bits in errfds in the select() case. Yes, they're annoyingly different. It's quite possible we don't actually need select() --- certainly it will only be needed for some pokey old non-POSIX thing. > Aside: Am I misreading the code, or is it the case that the (HAVE_TIO && > sun) #ifdef branch does not support zle -F ? It should prefer poll or failing that select. If we don't have any such feature we can't support zle -F. pws