

def __init__(self, count):
    count = int(count)
    if (count <= 0):
        raise ValueError('Count must be greater than zero')
    self._count = count
    self._cond = threading.Condition()

dataset/ETHPy150Open openstack/taskflow/taskflow/types/latch.py Latch.__init__/original