wwbmmm commented on issue #1662: URL: https://github.com/apache/incubator-brpc/issues/1662#issuecomment-1107732409
> 或者直接把业务代码写到 .so 里面,然后进程根据信号重新 dlopen 这些 .so 不建议这么搞,这样可能会有很多坑,dlopen只是重新加载so中的符号 ,但是对于so中的代码所申请的资源(如内存、fd、线程)是不保证释放的,需要业务代码非常谨慎地处理。而且为了保证升级过程请求平滑处理,会有一段时间新老so并存,这可能会产生符号冲突之类的问题 -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
