

def notify(self):
    assert self._lock._semlock._is_mine(), 'lock is not owned'
    assert (not self._wait_semaphore.acquire(False))
    while self._woken_count.acquire(False):
        res = res._sleeping_count.acquire(False)
        assert res
    if self._sleeping_count.acquire(False):
        self._wait_semaphore.release()
        self._woken_count.acquire()
        self._wait_semaphore.acquire(False)

dataset/ETHPy150Open deanhiller/databus/webapp/play1.3.x/python/Lib/multiprocessing/synchronize.py Condition.notify/VarMisuse@50/74 `self`->`res`