From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: poffice@blade.nagaokaut.ac.jp Delivered-To: poffice@blade.nagaokaut.ac.jp Received: from kankan.nagaokaut.ac.jp (kankan.nagaokaut.ac.jp [133.44.2.24]) by blade.nagaokaut.ac.jp (Postfix) with ESMTP id 0994517CC254 for ; Tue, 30 Oct 2012 08:34:52 +0900 (JST) Received: from funfun.nagaokaut.ac.jp (funfun.nagaokaut.ac.jp [133.44.2.201]) by kankan.nagaokaut.ac.jp (Postfix) with ESMTP id A852BEA6C2B for ; Tue, 30 Oct 2012 08:46:39 +0900 (JST) Received: from funfun.nagaokaut.ac.jp (localhost.nagaokaut.ac.jp [127.0.0.1]) by funfun.nagaokaut.ac.jp (Postfix) with ESMTP id AA24797A826 for ; Tue, 30 Oct 2012 08:46:39 +0900 (JST) X-Virus-Scanned: amavisd-new at nagaokaut.ac.jp Received: from funfun.nagaokaut.ac.jp ([127.0.0.1]) by funfun.nagaokaut.ac.jp (funfun.nagaokaut.ac.jp [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id W1tZfHDIk4ys for ; Tue, 30 Oct 2012 08:46:39 +0900 (JST) Received: from voscc.nagaokaut.ac.jp (voscc.nagaokaut.ac.jp [133.44.1.100]) by funfun.nagaokaut.ac.jp (Postfix) with ESMTP id 8961597A81A for ; Tue, 30 Oct 2012 08:46:39 +0900 (JST) Received: from carbon.ruby-lang.org (carbon.ruby-lang.org [221.186.184.68]) by voscc.nagaokaut.ac.jp (Postfix) with ESMTP id 9BFD1952446 for ; Tue, 30 Oct 2012 08:46:38 +0900 (JST) Received: from beryllium.ruby-lang.org (beryllium.ruby-lang.org [127.0.0.1]) by carbon.ruby-lang.org (Postfix) with ESMTP id ED4233C21EB87; Tue, 30 Oct 2012 08:44:23 +0900 (JST) Received: from fluorine.ruby-lang.org (www.rubyist.net [210.251.121.216]) by carbon.ruby-lang.org (Postfix) with ESMTP id DA1EE3C2277C9 for ; Tue, 30 Oct 2012 08:43:46 +0900 (JST) Received: from ruby-lang.org (localhost [127.0.0.1]) by fluorine.ruby-lang.org (Postfix) with ESMTP id CB5DB3ED59 for ; Tue, 30 Oct 2012 08:43:46 +0900 (JST) Delivered-To: ruby-core@ruby-lang.org Date: Tue, 30 Oct 2012 08:44:21 +0900 Posted: Tue, 30 Oct 2012 08:43:46 +0900 From: "ko1 (Koichi Sasada)" Reply-To: ruby-core@ruby-lang.org Subject: [ruby-core:48561] [ruby-trunk - Feature #4589][Feedback] add Queue#each() method and include Enumerable To: ruby-core@ruby-lang.org Message-Id: References: X-ML-Name: ruby-core X-Mail-Count: 48561 X-MLServer: fml [fml 4.0.3 release (20011202/4.0.3)]; post only (only members can post) X-ML-Info: If you have a question, send e-mail with the body "help" (without quotes) to the address ruby-core-ctl@ruby-lang.org; help= X-Mailer: Redmine X-Redmine-Issue-Author: sunaku X-Redmine-Issue-Assignee: ko1 X-Auto-Response-Suppress: OOF X-Redmine-Issue-Id: 4589 X-Redmine-Mailinglistintegration-Message-Ids: 20822 X-Redmine-Project: ruby-trunk Auto-Submitted: auto-generated X-Redmine-Site: Ruby Issue Tracking System X-Redmine-Host: bugs.ruby-lang.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Precedence: bulk List-Id: ruby-core.ruby-lang.org List-Software: fml [fml 4.0.3 release (20011202/4.0.3)] List-Post: List-Owner: List-Help: List-Unsubscribe: Issue #4589 has been updated by ko1 (Koichi Sasada). Status changed from Assigned to Feedback Target version set to next minor Professional's comments are very welcome. I can't determine it should be worth or not. ---------------------------------------- Feature #4589: add Queue#each() method and include Enumerable https://bugs.ruby-lang.org/issues/4589#change-31942 Author: sunaku (Suraj Kurapati) Status: Feedback Priority: Normal Assignee: ko1 (Koichi Sasada) Category: lib Target version: next minor =begin Please add a thread-safe each() method to the Queue and SizedQueue classes which are provided by the "thread" standard library Also mix-in the Enumerable module into those classes so we can use map/inject/etc. Thanks for your consideration. =end -- http://bugs.ruby-lang.org/