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 17E3A1960048 for ; Fri, 26 Jun 2015 07:42:22 +0900 (JST) Received: from funfun.nagaokaut.ac.jp (smtp.nagaokaut.ac.jp [133.44.2.201]) by kankan.nagaokaut.ac.jp (Postfix) with ESMTP id E46EFB5D8D1 for ; Fri, 26 Jun 2015 08:06:43 +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 B909497A826 for ; Fri, 26 Jun 2015 08:06:44 +0900 (JST) X-Virus-Scanned: amavisd-new at nagaokaut.ac.jp Authentication-Results: funfun.nagaokaut.ac.jp (amavisd-new); dkim=fail (1024-bit key) reason="fail (message has been altered)" header.d=sendgrid.me 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 EAfVxTShV9xA for ; Fri, 26 Jun 2015 08:06:44 +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 8DF3D97A820 for ; Fri, 26 Jun 2015 08:06:44 +0900 (JST) Received: from neon.ruby-lang.org (neon.ruby-lang.org [221.186.184.75]) by voscc.nagaokaut.ac.jp (Postfix) with ESMTP id B9F3C95243E for ; Fri, 26 Jun 2015 08:06:43 +0900 (JST) Received: from [221.186.184.76] (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id 5885412044C; Fri, 26 Jun 2015 08:06:41 +0900 (JST) X-Original-To: ruby-core@ruby-lang.org Delivered-To: ruby-core@ruby-lang.org Received: from o2.heroku.sendgrid.net (o2.heroku.sendgrid.net [67.228.50.55]) by neon.ruby-lang.org (Postfix) with ESMTPS id E7B4B12040B for ; Fri, 26 Jun 2015 08:06:37 +0900 (JST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sendgrid.me; h=from:to:references:subject:mime-version:content-type:content-transfer-encoding:list-id; s=smtpapi; bh=tuHP8PuL4rVhPtiq1Okbr/U2DMY=; b=Yz1VAzkn4vpb36Mqq1 SRmmJIzFM7/IsPam/Dlg/qIU0jrr0JwqUAjaHTbzoNIj4fqfw68mxtckX1qph7UK LfMf0WnqAXjfnpRV0b535v21sVD6Va8i1ashSXZ2+DKo/vJyFQ1NXHE5jdLqTgh+ bo1IU1PFsasOkDUKSOlc1bmEs= Received: by filter0814p1mdw1.sendgrid.net with SMTP id filter0814p1mdw1.9951.558C896C53 2015-06-25 23:06:23.907955257 +0000 UTC Received: from herokuapp.com (ec2-54-160-226-213.compute-1.amazonaws.com [54.160.226.213]) by ismtpd-035 (SG) with ESMTP id 14e2cf8dd9f.116a.1bb8ac for ; Thu, 25 Jun 2015 23:06:24 +0000 (UTC) Date: Thu, 25 Jun 2015 23:06:23 +0000 From: normalperson@yhbt.net To: ruby-core@ruby-lang.org Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Redmine-MailingListIntegration-Message-Ids: 44315 X-Redmine-Project: ruby-trunk X-Redmine-Issue-Id: 11307 X-Redmine-Issue-Author: normalperson X-Redmine-Issue-Assignee: matz X-Redmine-Sender: normalperson X-Mailer: Redmine X-Redmine-Host: bugs.ruby-lang.org X-Redmine-Site: Ruby Issue Tracking System X-Auto-Response-Suppress: All Auto-Submitted: auto-generated X-SG-EID: ync6xU2WACa70kv/Ymy4QrNMhiuLXJG8OTL2vJD1yS6jbDE+o3N9rMBuQsQMISH246aeAbtL8iK63O HtKOsmyip0WCZ4ptmSkcV46ff5Dhdr25U4vJjcMTx22mMaceOZD9JyDlsMADXSyTksQm+tCQcxlvME 7+ZObyGuAt4fJsrl4Kyusip6OdFZY+m/NBmd X-SendGrid-Contentd-ID: {"test_id":"1435273587"} X-ML-Name: ruby-core X-Mail-Count: 69739 Subject: [ruby-core:69739] [Ruby trunk - Feature #11307] [Open] exception-free non-blocking Queue#pop X-BeenThere: ruby-core@ruby-lang.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Ruby developers List-Id: Ruby developers List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: ruby-core-bounces@ruby-lang.org Sender: "ruby-core" Issue #11307 has been reported by Eric Wong. ---------------------------------------- Feature #11307: exception-free non-blocking Queue#pop https://bugs.ruby-lang.org/issues/11307 * Author: Eric Wong * Status: Open * Priority: Normal * Assignee: Yukihiro Matsumoto ---------------------------------------- As we learned from the nonblocking IO APIs, exceptions are noisy with debugging enabled and waste allocations on backtraces. We should have a better way to do non-blocking Queue#pop without raising exceptions, but I don't know what the API should be... -- https://bugs.ruby-lang.org/