You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by GitBox <gi...@apache.org> on 2020/09/22 14:04:08 UTC

[GitHub] [incubator-brpc] brokensword2018 removed a comment on issue #1249: 关于is_current_pthread_task 这个函数的疑问

brokensword2018 removed a comment on issue #1249:
URL: https://github.com/apache/incubator-brpc/issues/1249#issuecomment-696740413


   > 两个条件不等价, _cur_meta->stack == _main_stack 成立的时候,current_tid() == _main_tid 不一定成立。有些情况下bthread会复用main task 的堆栈,可以读一下ending_sched这个函数的源码理解一下
   
   非常感谢


----------------------------------------------------------------
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, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org