kof02guy commented on issue #2762:
URL: https://github.com/apache/brpc/issues/2762#issuecomment-2354387920

   > WriteRequest链表是个单向链表,反转就是为了从tail消费吧
   
   谢谢。但我不太理解的是为什么一定要反转。如果producer在tail增加新的WriteRequest,consumer在head处消费,不需要反转链表。
   没能理解反转链表的好处在哪里呢?


-- 
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.

To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org
For additional commands, e-mail: dev-h...@brpc.apache.org

Reply via email to