Author sbt
Recipients JBernardo, neologix, pitrou, sbt
Date 2013-05-28.15:37:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1369755435.15.0.689376545162.issue18078@psf.upfronthosting.co.za>
In-reply-to
Content
> This could solve the waiting problem for the "thread", but also may 
> keep the other Condition objs waiting -- and that may not be problem 
> because I'm already using .notify_all()

I don't understand what you mean.

> Probably this function have more use cases than my original idea, but 
> is it simple to wait on several locks?

It would be for waiting for several conditions associated with the same lock, not for waiting for several locks.

> It could be in the form:
>
> Condition.wait_for_any(cond_to_pred: dict|list, timeout=None) -> condition
>
> For cases when there's no need for a predicate function.

There is always a need for a predicate function.
History
Date User Action Args
2013-05-28 15:37:15sbtsetrecipients: + sbt, pitrou, neologix, JBernardo
2013-05-28 15:37:15sbtsetmessageid: <1369755435.15.0.689376545162.issue18078@psf.upfronthosting.co.za>
2013-05-28 15:37:15sbtlinkissue18078 messages
2013-05-28 15:37:15sbtcreate