[GitHub] [incubator-brpc] ChenChuang commented on issue #1428: brpc+用户自定义线程池卡住

2021-06-09 Thread GitBox
ChenChuang commented on issue #1428: URL: https://github.com/apache/incubator-brpc/issues/1428#issuecomment-858293322 另外,我们在典型堆栈 [1] frame 4 观察到: (gdb) frame 4 #4 bthread::butex_wait (arg=0x7f84d508e230, expected_value=expected_value@entry=0, abstime=abstime@entry=0x0) at

[GitHub] [incubator-brpc] ChenChuang opened a new issue #1428: brpc+用户自定义线程池卡住

2021-06-09 Thread GitBox
ChenChuang opened a new issue #1428: URL: https://github.com/apache/incubator-brpc/issues/1428 **Describe the bug (描述bug)** 我们有一个计算引擎,需要在单独的线程池调用。因此,我们采用了如下的设计方案 1. brpc负责收发消息,在rpc处理方法中,把消息转换为计算任务投递到一个全局队列中,然后通过 bthread::Mutex + bthread::ConditionVariable 等待任务完成(如下面代码中的 Wait 方法)

[GitHub] [incubator-brpc] guodongxiaren commented on pull request #1427: 消除高版本GCC上编译时大量-Wclass-memaccess的警告

2021-06-09 Thread GitBox
guodongxiaren commented on pull request #1427: URL: https://github.com/apache/incubator-brpc/pull/1427#issuecomment-858216920 > 能帮忙验证下目前master是不是把这个警告了去除了吗? 去掉了,没有 [-Wclass-memaccess]的警告了。 剩余一些高版本protobuf 给一些API标记了废弃,触发的[-Wdeprecated-declarations]编译警告,我后面再提交一个另外的PR。

[GitHub] [incubator-brpc] guodongxiaren commented on issue #1347: 使用brpc http client访问url,返回错误信息 “400 Bad Request”

2021-06-09 Thread GitBox
guodongxiaren commented on issue #1347: URL: https://github.com/apache/incubator-brpc/issues/1347#issuecomment-858211183 可以把完整url贴出来看下 -- 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

[GitHub] [incubator-brpc] zyearn commented on pull request #1427: 消除高版本GCC上编译时大量-Wclass-memaccess的警告

2021-06-09 Thread GitBox
zyearn commented on pull request #1427: URL: https://github.com/apache/incubator-brpc/pull/1427#issuecomment-858070960 能帮忙验证下目前master是不是把这个警告了去除了吗? -- 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

[incubator-brpc] branch master updated: clear no trival copy-assignment warning

2021-06-09 Thread jiashunzhu
This is an automated email from the ASF dual-hosted git repository. jiashunzhu pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-brpc.git The following commit(s) were added to refs/heads/master by this push: new 9186202 clear no trival

[GitHub] [incubator-brpc] zyearn merged pull request #1427: 消除高版本GCC上编译时大量-Wclass-memaccess的警告

2021-06-09 Thread GitBox
zyearn merged pull request #1427: URL: https://github.com/apache/incubator-brpc/pull/1427 -- 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. For queries about this service,

[incubator-brpc] branch master updated: fix_BRPC_VALIDATE_GFLAG

2021-06-09 Thread jiashunzhu
This is an automated email from the ASF dual-hosted git repository. jiashunzhu pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-brpc.git The following commit(s) were added to refs/heads/master by this push: new 1ecb07b fix_BRPC_VALIDATE_GFLAG

[GitHub] [incubator-brpc] zyearn merged pull request #1426: 文档修复:BRPC_RPC_VALIDATE_GFLAG改为BRPC_VALIDATE_GFLAG

2021-06-09 Thread GitBox
zyearn merged pull request #1426: URL: https://github.com/apache/incubator-brpc/pull/1426 -- 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. For queries about this service,

[GitHub] [incubator-brpc] zyearn closed issue #1399: BAIDU_RPC_VALIDATE_GFLAG写错了

2021-06-09 Thread GitBox
zyearn closed issue #1399: URL: https://github.com/apache/incubator-brpc/issues/1399 -- 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. For queries about this service,

[GitHub] [incubator-brpc] guodongxiaren commented on pull request #1427: 消除高版本GCC上编译时大量-Wclass-memaccess的警告

2021-06-09 Thread GitBox
guodongxiaren commented on pull request #1427: URL: https://github.com/apache/incubator-brpc/pull/1427#issuecomment-857796041 @zyearn -- 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

[GitHub] [incubator-brpc] guodongxiaren opened a new pull request #1427: 消除高版本GCC上编译时大量-Wclass-memaccess的警告

2021-06-09 Thread GitBox
guodongxiaren opened a new pull request #1427: URL: https://github.com/apache/incubator-brpc/pull/1427 发现 #1381 这个PR被merge以后,还是有大量`no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess]`的警告。 比如: ```

[GitHub] [incubator-brpc] guodongxiaren commented on pull request #1426: 文档修复:BRPC_RPC_VALIDATE_GFLAG改为BRPC_VALIDATE_GFLAG

2021-06-09 Thread GitBox
guodongxiaren commented on pull request #1426: URL: https://github.com/apache/incubator-brpc/pull/1426#issuecomment-857524936 @chenzhangyi -- 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

[GitHub] [incubator-brpc] chenzhangyi closed issue #1379: 在高版本GCC编译的时候 Warning 太多了

2021-06-09 Thread GitBox
chenzhangyi closed issue #1379: URL: https://github.com/apache/incubator-brpc/issues/1379 -- 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. For queries about this service,

[incubator-brpc] branch master updated: fix warning in gcc8+

2021-06-09 Thread zychen
This is an automated email from the ASF dual-hosted git repository. zychen pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-brpc.git The following commit(s) were added to refs/heads/master by this push: new b39fc76 fix warning in gcc8+ new

[GitHub] [incubator-brpc] chenzhangyi merged pull request #1381: fix warning in gcc8+

2021-06-09 Thread GitBox
chenzhangyi merged pull request #1381: URL: https://github.com/apache/incubator-brpc/pull/1381 -- 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. For queries about this