[incubator-brpc] branch master updated: add a lot of override

2019-06-12 Thread jamesge
This is an automated email from the ASF dual-hosted git repository. jamesge 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 fe55625 add a lot of override fe55625

[GitHub] [incubator-brpc] zhuchong0329 opened a new issue #801: bthread_id_t是否可以用一个指针取代

2019-06-12 Thread GitBox
zhuchong0329 opened a new issue #801: bthread_id_t是否可以用一个指针取代 URL: https://github.com/apache/incubator-brpc/issues/801 bthread_id_t其实是一个64位ID,用作是作为correlation_id,在O(1)时间内找到对应的Controller。这种模式下是不是用一个指针就能到达目的了,而且应该会更快,至于lock和join这些操作,只要在对应的Controller里面加入mutex等类型就可以了吧?望brpc的大神解答一下疑惑。