Message7524

Author zzzeek
Recipients zzzeek
Date 2012-11-19.16:23:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1353342216.33.0.113760962516.issue1988@psf.upfronthosting.co.za>
In-reply-to
Content
e.g.:


import threading

mutex = threading.Lock()
cond = threading.Condition(mutex)

cond.acquire(False)


Docs for condition.acquire:

http://docs.python.org/2/library/threading.html#threading.Condition.acquire


acquire(*args)

    Acquire the underlying lock. This method calls the corresponding method on the underlying lock; the return value is whatever that method returns.
History
Date User Action Args
2012-11-19 16:23:36zzzeeksetmessageid: <1353342216.33.0.113760962516.issue1988@psf.upfronthosting.co.za>
2012-11-19 16:23:36zzzeeksetrecipients: + zzzeek
2012-11-19 16:23:36zzzeeklinkissue1988 messages
2012-11-19 16:23:35zzzeekcreate