brokensword2018 commented on issue #1249:
URL: https://github.com/apache/incubator-brpc/issues/1249#issuecomment-696743267


   > 两个条件不等价, _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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to