GitHub user chenBright added a comment to the discussion: EventDispatcher 会自动 
stop、join,为什么 brpc worker 不会自动 stop、join 呢?

因为没法优雅且安全地停 worker和消费完所有 bthread,所以`bthread_stop_world`基本不可用。

我之前做过优雅退出相关工作,还需要修改TaskControl/TaskGroup,最后的实现不优雅,没法覆盖一些 corner 
case。https://github.com/apache/brpc/issues/1889#issuecomment-1605257000 有一些讨论。

GitHub link: 
https://github.com/apache/brpc/discussions/3378#discussioncomment-17585142

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]


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

Reply via email to