[issue8777] Add threading.Barrier

Georg Brandl report at bugs.python.org
Thu Oct 28 11:00:52 CEST 2010


Georg Brandl <georg at python.org> added the comment:

Two comments:

* The return value of wait() isn't documented well.  What is the significance of the returned index, i.e. what does distinguish it from a randomly selected one in range(parties)?

* get_parties() and is_broken() should be properties (waiting, broken), to be consistent with other threading APIs (Thread.name etc). get_waiting() does "real" work (can it block?) and should remain a method.

Don't worry about markup errors, I review doc changes routinely after they are committed.

*

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8777>
_______________________________________


More information about the Python-bugs-list mailing list