Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:113068 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 50806 invoked from network); 3 Feb 2021 17:48:39 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 3 Feb 2021 17:48:39 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 566951804D1 for ; Wed, 3 Feb 2021 09:32:10 -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.9 required=5.0 tests=BAYES_00,HTML_MESSAGE, 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 ; Wed, 3 Feb 2021 09:32:09 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by mercury.negativeion.net (Postfix) with ESMTP id 2C3FF20C4A6E6E; Wed, 3 Feb 2021 12:32:09 -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 D1Y6lVVlrAXV; Wed, 3 Feb 2021 12:32:08 -0500 (EST) Received: from [10.0.1.101] (unknown [173.225.146.47]) by mercury.negativeion.net (Postfix) with ESMTPSA id 7F06920C4A6E55; Wed, 3 Feb 2021 12:32:08 -0500 (EST) Message-ID: <458846A1-950A-404F-BD75-BD70F73D3625@trowski.com> Content-Type: multipart/alternative; boundary="Apple-Mail=_D8B27BA7-FCA3-4013-AB06-CD9EDC99C4E1" Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.1\)) Date: Wed, 3 Feb 2021 11:32:07 -0600 In-Reply-To: Cc: Benjamin Eberlei , php internals To: Levi Morrison References: <9BF046F2-4799-4CCD-A7F0-739A91C77E83@trowski.com> X-Mailer: Apple Mail (2.3608.120.23.2.1) Subject: Re: [PHP-DEV] [RFC] Fibers From: aaron@trowski.com (Aaron Piotrowski) --Apple-Mail=_D8B27BA7-FCA3-4013-AB06-CD9EDC99C4E1 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On Jan 31, 2021, at 11:29 AM, Levi Morrison via internals = wrote: >=20 > I think it would probably be advantageous to have an observer that > alerts interested parties when the fiber switches. This way we can > avoid querying the current fiber on every fcall. >=20 Hi Levi, Yes, I agree and will look at implementing an observer API. Cheers, Aaron Piotrowski > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: https://www.php.net/unsub.php = --Apple-Mail=_D8B27BA7-FCA3-4013-AB06-CD9EDC99C4E1--