synchronization.py 文件源码

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

项目:MCSManager-fsmodule 作者: Suwings 项目源码 文件源码
def __init__(self, identifier):
        super(ConditionSynchronizer, self).__init__()

        # counts how many asynchronous methods are executing
        self.async = 0

        # pointer to thread that is the current sync operation
        self.current_sync_operation = None

        # condition object to lock on
        self.condition = _threading.Condition(_threading.Lock())
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号