Missing word.

This commit is contained in:
Raymond Hettinger 2011-01-18 21:14:27 +00:00
parent 23ab1016a0
commit e0f1f3234c

View file

@ -844,8 +844,8 @@ is defined for only two threads.
Implemented as a two-phase cyclic barrier, :class:`~threading.Barrier` objects Implemented as a two-phase cyclic barrier, :class:`~threading.Barrier` objects
are suitable for use in loops. The separate *filling* and *draining* phases are suitable for use in loops. The separate *filling* and *draining* phases
assure that all threads get released (drained) before any one them can loop back assure that all threads get released (drained) before any one of them can loop
and re-enter the barrier. The barrier fully resets after each cycle. back and re-enter the barrier. The barrier fully resets after each cycle.
If any of the predecessor tasks can hang or be delayed, a barrier can be created If any of the predecessor tasks can hang or be delayed, a barrier can be created
with an optional *timeout* parameter. Then if the timeout period elapses before with an optional *timeout* parameter. Then if the timeout period elapses before