jayshankar nair via Python-list writes:
> Is condition.acquire(threading.Condition()) similar to
> lock.acquire(threading.Lock). Does both of get access to the lock. Can i use
> condition.wait,notify with lock.acquire or i have to use condition.wait,
> notify with condition.acquire.
> cond.acqu
Hi,
Is condition.acquire(threading.Condition()) similar to
lock.acquire(threading.Lock). Does both of get access to the lock. Can i use
condition.wait,notify with lock.acquire or i have to use condition.wait, notify
with condition.acquire.
cond.acquire() // can i replace with lock.acquire
w