mirror of
https://github.com/python/cpython.git
synced 2025-09-30 04:15:43 +00:00
Missing word.
This commit is contained in:
parent
23ab1016a0
commit
e0f1f3234c
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue