tangtang5156 commented on issue #2266: URL: https://github.com/apache/brpc/issues/2266#issuecomment-1569472886
> 再注释掉这个全局变量试试 https://github.com/apache/brpc/blob/master/src/bthread/mutex.cpp#L428 您好,再之前回复的去除pthread_mutex_lock和pthread_mutex_unlock的基础上我又注释掉了上述的全局变量,具体如下:  注释掉之后运行主函数没有再报错了。 但是因为毕竟去除了一部分brpc的代码,担心会影响后续的其他使用。所以再请教下,这部分代码注释掉之后的具体影响是什么哪?比如会导致哪些功能不可用,或者是在什么场景下可能会有问题? 辛苦回复,感谢! -- 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