common.py 文件源码

python
阅读 35 收藏 0 点赞 0 评论 0

项目:dcos 作者: dcos 项目源码 文件源码
def stop(self):
        """Stop the LogCatcher instance and perform resource cleanup."""
        self._termination_flag.set()

        while self._logger_thread.is_alive():
            self._logger_thread.join(timeout=0.5)
            log.info("Waiting for LogCatcher thread to exit")

        log.info("LogCatcher thread has terminated, bye!")
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号