szy441687879 commented on code in PR #2920: URL: https://github.com/apache/brpc/pull/2920#discussion_r2095052864
########## src/brpc/rdma/rdma_endpoint.cpp: ########## @@ -1486,6 +1526,119 @@ void RdmaEndpoint::GlobalRelease() { delete res; } } + // release polling mode at exit or call RdmaEndpoint::PollingModeRelease + // explicitly + if (FLAGS_rdma_use_polling) { + for (int i = 0; i < FLAGS_task_group_ntags; ++i) { + PollingModeRelease(i); + } + } +} + +std::vector<RdmaEndpoint::PollerGroup> RdmaEndpoint::_poller_groups; + +void RdmaEndpoint::SetCallbackFn(std::function<void()> cb, bthread_tag_t tag) { Review Comment: 感谢,这个问题已经解决 -- 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