[issue8777] Add threading.Barrier

Kristján Valur Jónsson report at bugs.python.org
Thu Oct 28 08:54:51 CEST 2010


Kristján Valur Jónsson <kristjan at ccpgames.com> added the comment:

Right.  The condition object change is necessary to have timeout work.  I can remove that feature, and slate it for another day.  Add a separate patch for a Condition.wait() return value.  All of the other apis are able to let the caller know whether a timeout occurred or not, I think Condition.wait() should do the same.

Actually, I can fudge the timeout with time.clock(), which is good enough.

I'll write up some docs.

----------

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


More information about the Python-bugs-list mailing list