mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Merge with 3.2.
This commit is contained in:
commit
f10644983e
41 changed files with 48 additions and 48 deletions
|
@ -425,7 +425,7 @@ class Event(_Verbose):
|
|||
# to be cyclic. Threads are not allowed into it until it has fully drained
|
||||
# since the previous cycle. In addition, a 'resetting' state exists which is
|
||||
# similar to 'draining' except that threads leave with a BrokenBarrierError,
|
||||
# and a 'broken' state in which all threads get get the exception.
|
||||
# and a 'broken' state in which all threads get the exception.
|
||||
class Barrier(_Verbose):
|
||||
"""
|
||||
Barrier. Useful for synchronizing a fixed number of threads
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue