wwbmmm commented on issue #2259: URL: https://github.com/apache/brpc/issues/2259#issuecomment-1557066564
看堆栈里有brpc::policy::CallMethodInBackupThread: <img width="912" alt="image" src="https://github.com/apache/brpc/assets/3894631/71b63bc1-8cb9-4106-89b8-eb45086a31f8"> 根据brpc 1.3.0的代码,CallMethodInBackupThread会在EndRunningCallMethodInPool中使用: <img width="747" alt="image" src="https://github.com/apache/brpc/assets/3894631/2a4ee35c-0e4a-4714-a85a-5e8b397c743c"> EndRunningCallMethodInPool只会在FLAGS_usercode_in_pthread为true的时候走到: <img width="573" alt="image" src="https://github.com/apache/brpc/assets/3894631/4ddb472a-2eab-4459-a26e-f807a7b9cf73"> 所以FLAGS_usercode_in_pthread的值应该为true,太奇怪了。 -- 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]
