mirror of https://github.com/python/cpython
parent
80a39daecd
commit
8584981a58
|
@ -429,7 +429,7 @@ Barrier
|
||||||
|
|
||||||
Put the barrier into a broken state. This causes any active or future
|
Put the barrier into a broken state. This causes any active or future
|
||||||
calls to :meth:`wait` to fail with the :class:`BrokenBarrierError`.
|
calls to :meth:`wait` to fail with the :class:`BrokenBarrierError`.
|
||||||
Use this for example if one of the taks needs to abort, to avoid infinite
|
Use this for example if one of the tasks needs to abort, to avoid infinite
|
||||||
waiting tasks.
|
waiting tasks.
|
||||||
|
|
||||||
.. attribute:: parties
|
.. attribute:: parties
|
||||||
|
|
Loading…
Reference in New Issue