Skip to content

Make zend_vm support pause by extension #2886

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed

Make zend_vm support pause by extension #2886

wants to merge 3 commits into from

Conversation

taoso
Copy link

@taoso taoso commented Oct 30, 2017

Inspired by the EG(exception_op), I propose to introduce the EG(pause_op), which will allow extensions to stop the zend vm execution.

A new zend_vm_stack_init_ex api has also been introduced to allow extension init a stack with custom size.


Both of these changes are extracted from PR #2733 . As #2733 cannot handle Fiber within c internal call, it seems no possible to be merged. So I make these PR to introduce the minimum changes to php-src base, and make it possible to implement Fiber as a standalone extension.

Thank you.

Haitao Lv added 3 commits October 31, 2017 13:40
@taoso
Copy link
Author

taoso commented Nov 5, 2017

I have made another more simpler PR #2902 . And close this one. Thanks every guy 😄

@taoso taoso closed this Nov 5, 2017
@taoso taoso deleted the fiber-support branch November 6, 2017 08:12
@taoso taoso mentioned this pull request Apr 12, 2018
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