GitHub user condy0919 created a discussion: EventDispatcher 会自动 stop、join,为什么 brpc worker 不会自动 stop、join 呢?
针对 EventDispatcher 线程,注册了 atexit 函数 StopAndJoinGlobalDispatcher. 那么为什么不针对全局的 TaskControl 也处理一下呢? 我看到了有一个函数 `bthread_stop_world` 就是用来做这个事情的,也可以将它注册进 atexit 的吧。当前没有这样做的原因是啥呢? GitHub link: https://github.com/apache/brpc/discussions/3378 ---- 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]
