corecffi.py 文件源码

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

项目:Lixiang_zhaoxin 作者: hejaxian 项目源码 文件源码
def start(self, callback, *args, **kw):
        update = kw.get("update", True)
        if update:
            # Quoth the libev doc: "This is a costly operation and is
            # usually done automatically within ev_run(). This
            # function is rarely useful, but when some event callback
            # runs for a very long time without entering the event
            # loop, updating libev's idea of the current time is a
            # good idea."
            # So do we really need to default to true?
            libev.ev_now_update(self.loop._ptr)
        watcher.start(self, callback, *args)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号