Skip to content

Conversation

@kooldev
Copy link
Contributor

@kooldev kooldev commented Jun 18, 2021

This PR moves struct and functions needed to capture / restore Zend VM state into zend_fibers.c to reduce API exposure. It was never possible to gain access to that state outside of zend_fiber_switch_context() (state is stored on the C stack), hence removing this from the header makes sense.

Extracted from #7163 as suggested by @krakjoe.

@krakjoe krakjoe merged commit d4ead60 into php:master Jun 18, 2021
@kooldev kooldev deleted the fiber-vm-state branch June 18, 2021 06:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants