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.posix-mq.general Subject: [ANN] posix_mq 0.5.1 - fix notify(&block) Date: Sun, 9 May 2010 08:18:14 +0000 Message-ID: <20100509081814.GA19066@dcvr.yhbt.net> References: <20100509081814.GA19066@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 1273393112 28756 80.91.229.12 (9 May 2010 08:18:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 9 May 2010 08:18:32 +0000 (UTC) To: ruby.posix.mq@librelist.com Original-X-From: ruby.posix.mq@librelist.com Sun May 09 10:18:28 2010 Return-path: Envelope-to: gclrpg-ruby.posix.mq@m.gmane.org In-Reply-To: <20100509081814.GA19066@dcvr.yhbt.net> 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:45 Archived-At: Received: from zedshaw.xen.prgmr.com ([64.71.167.205]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OB1iV-00014l-5W for gclrpg-ruby.posix.mq@m.gmane.org; Sun, 09 May 2010 10:18:27 +0200 Received: from zedshaw.xen.prgmr.com (localhost [IPv6:::1]) by zedshaw.xen.prgmr.com (Postfix) with ESMTP id 74FD121A88B for ; Sun, 9 May 2010 08:25:38 +0000 (UTC) POSIX message queues allow local processes to exchange data in the form of messages. This API is distinct from that provided by System V message queues, but provides similar functionality. * http://bogomips.org/ruby_posix_mq/ * ruby.posix.mq@librelist.com * git://git.bogomips.org/ruby_posix_mq.git Changes: Fix POSIX_MQ#notify(&block) usage, this regression was introduced in 0.4.0 and our tests for it were broken, as well. Not many people use POSIX_MQ.notify(&block), however, as it's only supported under Linux at the moment and "POSIX_MQ.notify = signal" is more portable and efficient. Of course, it's possible to use POSIX message queues without notifications at all in blocking mode. (and Linux and FreeBSD also allow POSIX_MQ objects to be IO.select-ed). -- Eric Wong