This class implements condition variable objects. A condition variable allows one or more threads to wait until they are notified by another thread.
class threading.Condition(lock=None)
while not predicate(): cv.wait()