jamesge commented on issue #971: 关于BRPC设计的一些疑问(定时器,网络模型等)
URL: https://github.com/apache/incubator-brpc/issues/971#issuecomment-557117868
 
 
   在框架层面做成全异步而不依赖任何的阻塞操作,是很正常的。正因为阻塞很少,所以用pthread mutex也影响不大,这是pthread 
mutex用的多的主要原因。未必不能用bthread,要看频率和场景,比如框架中写入socket不就是可能会创建bthread运行KeepWrite么?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to