luliyucoordinate opened a new issue, #2073:
URL: https://github.com/apache/incubator-brpc/issues/2073

   
我看到现有iobuf里面如果想要使用一个申请好的内存可以使用append_user_data,这个方法需要传入一个delete的析构(是一个`void(void*)`函数,传入raw数据地址)。
   
   
如果申请好的内存是一个引用计数管理的内存,也就是需要append_user_data需要支持引用计数管理的内存,这个现有的代码中有办法实现吗?还是说需要修改原来iobuf的逻辑,将delete改为支持可以传入对象地址的一个function呢?


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