Skip to content
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

希望swoole能在coroutine切换时提供一个事件机制,可以在切换前后做一些自定义操作 #21

Open
eslizn opened this issue May 28, 2018 · 1 comment

Comments

@eslizn
Copy link

eslizn commented May 28, 2018

这样的话可以针对现有较多使用了单例模式的php框架实现一个上下文隔离和切换的补丁,而不是直接修改框架代码

@huang-yi
Copy link

这个特性在整合框架与swoole时,显得尤为重要,用户可以利用这个特性实现一些自定义的上下文切换工作。希望能够得到官方的支持。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants