leaf-potato commented on issue #2446:
URL: https://github.com/apache/brpc/issues/2446#issuecomment-1822183144

   > > 那么是在Echo 处理函数中回复了Echo response,同时启动一个线程来运行你的业务函数就行了吧
   > 
   > 想了解brpc有没有预留这样的借口,自己起线程,感觉在程序退出时,可能会有资源访问core问题
   
   运行done->Run()后request和response都会被析构,如果在单独业务线程中会访问req和resp会有问题


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