muduo icon indicating copy to clipboard operation
muduo copied to clipboard

多个TcpServer共享EventLoopThreadPool问题

Open chenyahui opened this issue 4 years ago • 2 comments

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

chenyahui avatar Sep 20 '19 07:09 chenyahui

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

chenyahui avatar Sep 20 '19 07:09 chenyahui

欢迎提 pull request。

chenshuo avatar Oct 25 '19 16:10 chenshuo