Skip to content

Make zend_vm support pause by extension - #2886

Closed
taoso wants to merge 3 commits into
masterfrom
unknown repository
Closed

taoso wants to merge 3 commits into
masterfrom
unknown repository

Conversation

@taoso

@taoso taoso commented Oct 30, 2017 •

Copy link
Copy Markdown

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

taoso commented Nov 5, 2017

Copy link
Copy Markdown
Author

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