main.py 文件源码

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

项目:mist.api 作者: mistio 项目源码 文件源码
def greenlet_id(self):
        """Find current greenlet's id

        Parts of this class will be called in different greenlets. Greenlet Id
        is used to differentiate between greenlet specific instance resources
        that can't be shared between greenlets.

        """
        return id(gevent.getcurrent())
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号