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: AS47066 71.19.144.0/20 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.posix-mq.general Subject: Re: [PATCH] Ability to adopt file descriptors Date: Mon, 5 Jan 2015 05:34:01 +0000 Message-ID: <20150105053401.GA5850@dcvr.yhbt.net> References: <1420305358-21019-1-git-send-email-christopher@lord.ac> <1420305358-21019-1-git-send-email-christopher@lord.ac> <20150104011636.GA26859@dcvr.yhbt.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1420436063 16283 80.91.229.3 (5 Jan 2015 05:34:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 5 Jan 2015 05:34:23 +0000 (UTC) To: ruby.posix.mq@librelist.com Original-X-From: ruby.posix.mq@librelist.com Mon Jan 05 06:34:18 2015 Return-path: Envelope-to: gclrpg-ruby.posix.mq@m.gmane.org List-Archive: List-Help: List-Id: List-Post: List-Subscribe: List-Unsubscribe: Precedence: list Original-Sender: ruby.posix.mq@librelist.com Xref: news.gmane.org gmane.comp.lang.ruby.posix-mq.general:123 Archived-At: Received: from zedshaw2.xen.prgmr.com ([71.19.156.177]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Y80J0-00069U-Ca for gclrpg-ruby.posix.mq@m.gmane.org; Mon, 05 Jan 2015 06:34:18 +0100 Received: from zedshaw2.xen.prgmr.com (unknown [IPv6:::1]) by zedshaw2.xen.prgmr.com (Postfix) with ESMTP id 16EA374E7E for ; Mon, 5 Jan 2015 05:35:26 +0000 (UTC) Christopher Lord wrote: > That said, I was sure I double-checked that > > X.class.method_defined?(a) == X.respond_to?(a) > > Perhaps there is a difference between versions? or is this just a > stylistic preference? anyway no problem if you want to change that > too. POSIX_MQ.class == Class So I'm not sure what you were testing :) I think every version of Ruby behaves that way. Anyways, I pushed out http://bogomips.org/ruby_posix_mq.git/patch?id=6622d115 I'll work on documentation + website + mailing list updates (affects a bunch of my projects actually) and hopefully have a new release in a few days. > I suspect autoclose might be useful for other uses of the change than > systemd socket activation. I know autoclose can be useful for evented > code or in situations where the wrapper socket type is ephemerally > recreated after going through non-ruby extensions to save memory. I > can imagine someone wanting to do something similar with message > queues, so autoclose might be useful there. Yep. If you have spare cyclesk, a patch for autoclose=/autoclose? would be appreciated, otherwise I can take care of it. Also, I've been meaning to add an "or later" clause to the current LGPLv3 license. Are you OK with that? This is in case I'm hit by a bus and the FSF comes out with LGPLv4, I want to make sure the project can upgrade.