Kaydet (Commit) 2dfafa3c authored tarafından Mariatta's avatar Mariatta Kaydeden (comit) GitHub

bpo-31191: Improve grammar in threading.Barrier docs (GH-3080) (GH-3224)

(cherry picked from commit 143be366)
üst 7e248904
...@@ -875,8 +875,8 @@ Barrier Objects ...@@ -875,8 +875,8 @@ Barrier Objects
This class provides a simple synchronization primitive for use by a fixed number This class provides a simple synchronization primitive for use by a fixed number
of threads that need to wait for each other. Each of the threads tries to pass of threads that need to wait for each other. Each of the threads tries to pass
the barrier by calling the :meth:`~Barrier.wait` method and will block until the barrier by calling the :meth:`~Barrier.wait` method and will block until
all of the threads have made the call. At this points, the threads are released all of the threads have made their :meth:`~Barrier.wait` calls. At this point,
simultaneously. the threads are released simultaneously.
The barrier can be reused any number of times for the same number of threads. The barrier can be reused any number of times for the same number of threads.
......
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