jenrryyou edited a comment on issue #1497:
URL: https://github.com/apache/incubator-brpc/issues/1497#issuecomment-891487709


   对第一点有同样的疑问;
   
第二点我的理解是:`butex_wait`里直接调用的是`TaskGroup::sched(&g)`,会调度新的`bthread`,一定会从头执行`task_runner`,把之前设置的回调执行;
   
![image](https://user-images.githubusercontent.com/4698734/127952379-1fc7d2b3-af2f-48ef-9e2a-d23075c77afd.png)
   


-- 
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: [email protected]

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