From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS6939 64.71.128.0/18 X-Spam-Status: No, score=-1.9 required=3.0 tests=AWL,BAYES_00 shortcircuit=no autolearn=unavailable version=3.3.2 X-source-folder: /home/ew/Mail/a.yhbt/2011-10.mbox.gz Return-Path: X-Original-To: normalperson@yhbt.net Received: from zedshaw.xen.prgmr.com (zedshaw.xen.prgmr.com [64.71.167.205]) by dcvr.yhbt.net (Postfix) with ESMTP id A567C1F4F1 for ; Sun, 8 May 2011 23:30:44 +0000 (UTC) Received: from zedshaw.xen.prgmr.com (localhost [IPv6:::1]) by zedshaw.xen.prgmr.com (Postfix) with ESMTP id 2A58B21C580 for ; Sun, 8 May 2011 23:31:57 +0000 (UTC) MIME-Version: 1.0 Date: Sun, 8 May 2011 23:30:19 +0000 From: Eric Wong In-Reply-To: <20110508233019.GA2159@dcvr.yhbt.net> List-Archive: List-Help: List-Id: List-Post: List-Subscribe: List-Unsubscribe: Message-Id: <20110508233019.GA2159@dcvr.yhbt.net> Precedence: list References: <20110508233019.GA2159@dcvr.yhbt.net> Sender: sleepy.penguin@librelist.org Subject: [sleepy.penguin] Epoll#wait raising Errno::EINTR To: sleepy.penguin@librelist.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Who here depends on Epoll#wait raising Errno::EINTR? I'm thinking of changing this in the next major release, probably 3.0... I would need to make corresponding changes in Rainbows! to deal with this, but it wouldn't be hard. I'm not aware of anybody using sleepy_penguin anywhere else outside of Rainbows!, so if you have thoughts/opinions on this, please us know! IO.select in Ruby itself doesn't raise Errno::EINTR either, instead it resumes with the remaining time left. For kgio[1], I've also made the Kgio.poll (poll(2) wrapper) match IO.select behavior. [1] http://bogomips.org/kgio/ -- Eric Wong