Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:113478 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 99634 invoked from network); 11 Mar 2021 16:37:12 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 11 Mar 2021 16:37:12 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id ECBE01804B8 for ; Thu, 11 Mar 2021 08:29:44 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: * X-Spam-Status: No, score=1.0 required=5.0 tests=BAYES_05,BODY_8BITS, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from mercury.negativeion.net (mercury.negativeion.net [199.38.81.6]) by php-smtp4.php.net (Postfix) with ESMTP for ; Thu, 11 Mar 2021 08:29:44 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by mercury.negativeion.net (Postfix) with ESMTP id 2A80D20CC17C72 for ; Thu, 11 Mar 2021 11:29:44 -0500 (EST) Received: from mercury.negativeion.net ([127.0.0.1]) by localhost (mercury.negativeion.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pjjAR4vk3ykg for ; Thu, 11 Mar 2021 11:29:43 -0500 (EST) Received: from [10.0.1.101] (unknown [173.225.146.47]) by mercury.negativeion.net (Postfix) with ESMTPSA id 883F920CC17C66 for ; Thu, 11 Mar 2021 11:29:43 -0500 (EST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) X-Priority: 3 In-Reply-To: Date: Thu, 11 Mar 2021 10:29:42 -0600 Content-Transfer-Encoding: quoted-printable Message-ID: References: To: php internals X-Mailer: Apple Mail (2.3608.120.23.2.4) Subject: Re: [PHP-DEV] [VOTE] Fibers From: aaron@trowski.com (Aaron Piotrowski) > On Mar 11, 2021, at 7:56 AM, =E9=9F=A9=E5=A4=A9=E5=B3=B0 = wrote: >=20 > The RFC does not mention how an extension uses fiber. >=20 Hi, I forgot to address your point that the RFC does not mention how an = extension uses fibers. I did omit this from the RFC as I focused on the user API, as that is = typically what PHP RFCs focus on, but this is an important question. There is not an internal API to create fibers at this time. However, I = planned to collaborate with other internals developers to add this API = (and of course with feedback from swoole developers), so this will be a = feature available to PHP extensions. Aaron Piotrowski