Commit 20b8eaa2 authored by Raymond Hettinger's avatar Raymond Hettinger

Missing word.

parent f7c9e250
...@@ -844,8 +844,8 @@ is defined for only two threads. ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment