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, MSGID_FROM_MTA_HEADER shortcircuit=no autolearn=unavailable version=3.3.2 Path: news.gmane.org!not-for-mail From: Eric Wong Newsgroups: gmane.comp.lang.ruby.io-splice.general Subject: updates in ruby_io_splice.git Date: Tue, 10 May 2011 14:16:24 -0700 Message-ID: <20110510211624.GA30058@dcvr.yhbt.net> References: <20110510211624.GA30058@dcvr.yhbt.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1305062210 17886 80.91.229.12 (10 May 2011 21:16:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 10 May 2011 21:16:50 +0000 (UTC) To: ruby.io.splice@librelist.org Original-X-From: ruby.io.splice@librelist.org Tue May 10 23:16:45 2011 Return-path: Envelope-to: gclrig-ruby.io.splice@m.gmane.org In-Reply-To: <20110510211624.GA30058@dcvr.yhbt.net> List-Archive: List-Help: List-Id: List-Post: List-Subscribe: List-Unsubscribe: Precedence: list Original-Sender: ruby.io.splice@librelist.org Xref: news.gmane.org gmane.comp.lang.ruby.io-splice.general:28 Archived-At: Received: from zedshaw.xen.prgmr.com ([64.71.167.205]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QJuIC-0005zZ-UB for gclrig-ruby.io.splice@m.gmane.org; Tue, 10 May 2011 23:16:33 +0200 Received: from zedshaw.xen.prgmr.com (localhost [IPv6:::1]) by zedshaw.xen.prgmr.com (Postfix) with ESMTP id A964821C963 for ; Tue, 10 May 2011 21:17:44 +0000 (UTC) I've added an optional IO::Splice::WAITALL flag which allows us to splice large amounts without having the (Ruby) user retry. This is consistent with IO#write and IO#read behavior. We'll also retry on EINTR again (after executing interrupts/signal handlers) and not raise Errno::EINTR back to the user. * git://bogomips.org/ruby_io_splice.git * http://bogomips.org/ruby_io_splice.git -- Eric Wong