Message 190194 - Python tracker

This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Content
I usually have hundreds of threads waiting on a single Condition object and I wake them with .notify_all()

Sometimes, I want a specific thread to wake from this condition and finish their job apart from the others.

The problem is that I have 2 "conditions" to wait for. I can't just add another Condition object and ask for it to wait for the first (unless there is some sort of `select` mechanism).

BTW, I find .notify(N) not much useful, because the docs say it may wake more threads on a different implementation and also I can't never know whom am I waking.