threading.Condition vs threading.Event
-
30-10-2019 - |
Question
I have yet to find a clear explanation of the differences between Condition
and Event
classes in the threading
module. Is there a clear use case where one would be more helpful than the other? All the examples I can find use a producer-consumer model as an example, where queue.Queue
would be the more straightforward solution.
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow