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

多个TcpServer共享EventLoopThreadPool问题 #411

Open
chenyahui opened this issue Sep 20, 2019 · 2 comments
Open

多个TcpServer共享EventLoopThreadPool问题 #411

chenyahui opened this issue Sep 20, 2019 · 2 comments

Comments

@chenyahui
Copy link

在muduo当前的设计中,多个TcpServer是否可以共享EventLoopThreadPool?

@chenyahui
Copy link
Author

我看代码设计,Accpetor所在的EventLoop是可以共享的,但是EventLoopThreadPool是不可以的.
这么设计的原因是什么呢?有没有考虑加入共享EventLoopThreadPool的功能?

@chenshuo
Copy link
Owner

欢迎提 pull request。

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