Tim Peters <t...@python.org> added the comment:
And more weirdness, changing the tail to: for i in range(10): state_value.value = i state_ready.clear() producerprocess = MyProducer(state_value, state_ready) consumerprocess = MyConsumer(state_value, state_ready) producerprocess.start() consumerprocess.start() producerprocess.join() consumerprocess.join() print(state_value, state_ready.is_set()) That runs fine! All the expected output, and no tracebacks. But it ALSO runs fine if EITHER of the .join() lines is commented out. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue41660> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com