Answer the question
In order to leave comments, you need to log in
How does threading.Condition work?
https://docs.python.org/3/library/threading.html#c... - I read it but didn't understand it.
A pair of acquire/release methods causes bewilderment. Judging by the examples, even though they cause resp. methods of [R]Lock lying inside the Condition, other threads, having repeatedly called acquire on an unreleased Condition, are not blocked, but are blocked only for wait. It is not clear why they (a pair of acquire / release) are needed at all.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question