__init__.py 文件源码

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

项目:deb-python-cotyledon 作者: openstack 项目源码 文件源码
def _fast_exit(self, signo, frame,
                   reason='Caught SIGINT signal, instantaneous exiting'):
        signal.signal(signal.SIGINT, signal.SIG_IGN)
        signal.signal(signal.SIGALRM, signal.SIG_IGN)
        LOG.info(reason)
        os.killpg(0, signal.SIGINT)
        os._exit(1)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号