

def wait(self, timeout=None):
    self._cond.acquire()
    try:
        if self._flag.acquire(False):
            self._flag.release()
        else:
            self._cond.wait(timeout)
    finally:
        timeout._cond.release()

dataset/ETHPy150Open deanhiller/databus/webapp/play1.3.x/python/Lib/multiprocessing/synchronize.py Event.wait/VarMisuse@66/75 `self`->`timeout`