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
在TestTask.php中为何io切换成同步? #40
Comments
https://wiki.swoole.com/wiki/page/163.html |
建议加上同步阻塞,说成同步会让人误解是协程,还有那个redis的方法有cor会误解 |
恩,好的,修正下 |
public function corTask($p1, $p2) 这个名字的函数是定义一个协程任务投递的demo,和redis协程没有关系 |
欢迎加群一起探讨 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
可以看到redis还是协程的,为何mysql/http切换成了同步阻塞呢?
The text was updated successfully, but these errors were encountered: