You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by GitBox <gi...@apache.org> on 2021/04/13 06:58:47 UTC
[GitHub] [incubator-brpc] hotaery commented on issue #1376: DoublyBufferedData支持多写多读吗
hotaery commented on issue #1376:
URL: https://github.com/apache/incubator-brpc/issues/1376#issuecomment-818491775
多写多读都是支持的,但是多写最终会串行执行的,写使用了mutex来保护的,具体可以参考https://github.com/apache/incubator-brpc/blob/master/src/butil/containers/doubly_buffered_data.h#L351
--
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:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org