wwbmmm commented on PR #2948: URL: https://github.com/apache/brpc/pull/2948#issuecomment-2798717061
按照这个逻辑:https://github.com/apache/brpc/blob/master/src/bthread/bthread.cpp#L266 如果初始值设置成BTHREAD_TAG_INVALID,默认就是在当前的tag中运行 如果初始值设置成bthread_self_tag()的话,我担心有可能初始化SocketOptions和实际使用Socket的不在同一个线程 -- 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