chenBright commented on code in PR #2920: URL: https://github.com/apache/brpc/pull/2920#discussion_r2234822438
########## src/brpc/socket.cpp: ########## @@ -2273,6 +2273,14 @@ int Socket::OnInputEvent(void* user_data, uint32_t events, attr.tag = bthread_self_tag(); if (FLAGS_usercode_in_coroutine) { ProcessEvent(p); +#if BRPC_WITH_RDMA + } else if (rdma::FLAGS_rdma_use_polling && p->_rdma_state == RDMA_ON) { + auto rc = bthread_start_background(&tid, &attr, ProcessEvent, p); Review Comment: 嗯,是最新代码。 https://github.com/apache/brpc/blob/f838e0fb1df8e89f21c4edecc68fbd8f70c88688/src/brpc/rdma/rdma_endpoint.cpp#L65 https://github.com/apache/brpc/blob/f838e0fb1df8e89f21c4edecc68fbd8f70c88688/src/brpc/socket.cpp#L2279-L2284 -- 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