> On Mar 11, 2021, at 10:41 AM, Ben Ramsey <b...@benramsey.com> wrote: > >> On Mar 11, 2021, at 10:29, Aaron Piotrowski <aa...@trowski.com> wrote: >> >> 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. >> > > > I know voting is currently on-going, but would it be out of order to add a > section to the RFC that states what you’ve said here? > > Cheers, > Ben >
Hi Ben, I think this is appropriate, as it is merely adding information to the RFC to answer a question that was raised on the list. I added a “Future Scope” section with the following text: The current implementation does not provide an internal API for fibers for PHP extensions. This RFC focuses on the user space fiber API. An internal fiber APIwill be added, collaborating with other internal developers and using feedback from PHP extension developers, including Swoole, so fibers can be created and controlled from PHP extensions. An extension may still optionally provide their own custom fiber implementation, but an internal API would allow the extension to use the fiber implementation provided by PHP. Cheers, Aaron Piotrowski -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https://www.php.net/unsub.php