From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS4713 221.184.0.0/13 X-Spam-Status: No, score=-3.8 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from neon.ruby-lang.org (neon.ruby-lang.org [221.186.184.75]) by dcvr.yhbt.net (Postfix) with ESMTP id ABB331F8C6 for ; Tue, 22 Jun 2021 11:01:44 +0000 (UTC) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id 5F2E7120AE1; Tue, 22 Jun 2021 20:00:31 +0900 (JST) Received: from o1678948x4.outbound-mail.sendgrid.net (o1678948x4.outbound-mail.sendgrid.net [167.89.48.4]) by neon.ruby-lang.org (Postfix) with ESMTPS id 3D71E120ADE for ; Tue, 22 Jun 2021 20:00:29 +0900 (JST) Received: by filterdrecv-7bc4dfcfd6-mkmdn with SMTP id filterdrecv-7bc4dfcfd6-mkmdn-1-60D1C30C-120 2021-06-22 11:01:32.740028757 +0000 UTC m=+286729.494925284 Received: from herokuapp.com (unknown) by ismtpd0178p1mdw1.sendgrid.net (SG) with ESMTP id 4YTDGJ2MTuShxL1nk9Tr_Q for ; Tue, 22 Jun 2021 11:01:32.629 +0000 (UTC) Date: Tue, 22 Jun 2021 11:01:32 +0000 (UTC) From: samuel@oriontransfer.net Message-ID: References: Mime-Version: 1.0 X-Redmine-Project: ruby-master X-Redmine-Issue-Tracker: Bug X-Redmine-Issue-Id: 18003 X-Redmine-Issue-Author: ioquatix X-Redmine-Issue-Assignee: ioquatix X-Redmine-Sender: ioquatix 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-Redmine-MailingListIntegration-Message-Ids: 80492 X-SG-EID: =?us-ascii?Q?cjxb6GWHefMLoR50bkJBcGo6DRiDl=2FNYcMZdY+Wj30Tl=2FDsh8qdxgDXvtATKW+?= =?us-ascii?Q?gcTrrMEOr8JtNLAXiy40adnI5QsUzpr6Q25RnVq?= =?us-ascii?Q?MtS1MK=2Fj9+Tkt=2FLEzkqXBJnj6dkAYy3HHUi1M61?= =?us-ascii?Q?Zr4PhQhDPTiO2cdhmrFQMS9R0J1y6FW8jHuuKpN?= =?us-ascii?Q?SGprsYKKmCY9hvYL3+F6VjZXqD+qCp+838jGihV?= =?us-ascii?Q?jIROyJKybtkh1qwA8=3D?= To: ruby-core@ruby-lang.org X-Entity-ID: b/2+PoftWZ6GuOu3b0IycA== X-ML-Name: ruby-core X-Mail-Count: 104377 Subject: [ruby-core:104377] [Ruby master Bug#18003] Rework internal IO to directly invoke scheduler with IO object. 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ruby-core-bounces@ruby-lang.org Sender: "ruby-core" Issue #18003 has been reported by ioquatix (Samuel Williams). ---------------------------------------- Bug #18003: Rework internal IO to directly invoke scheduler with IO object. https://bugs.ruby-lang.org/issues/18003 * Author: ioquatix (Samuel Williams) * Status: Closed * Priority: Normal * Assignee: ioquatix (Samuel Williams) ---------------------------------------- Many functions are still going through C functions which take file descriptors fd argument, and internally we need to create an IO object to handle this correctly in the fiber scheduler. This is slightly inefficient, so we should rework these code paths to use the updated interfaces which handle IO instances directly. -- https://bugs.ruby-lang.org/