Re: [RFC] Fibers
| From: | Aaron Piotrowski | Date: | Wed, 03 Feb 2021 17:32:07 +0000 |
| Subject: | Re: [RFC] Fibers | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-113068@lists.php.net to get a copy of this message | ||
> On Jan 31, 2021, at 11:29 AM, Levi Morrison via internals <internals@lists.php.net>
> wrote:
>
> 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.
>
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
> <https://www.php.net/unsub.php>