File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -262,8 +262,9 @@ Condition
262
262
Wait until a predicate becomes *true *.
263
263
264
264
The predicate must be a callable which result will be
265
- interpreted as a boolean value. The final value is the
266
- return value.
265
+ interpreted as a boolean value. The method will repeatedly
266
+ :meth: `~Condition.wait ` until the predicate evaluates to *true *.
267
+ The final value is the return value.
267
268
268
269
269
270
Semaphore
@@ -428,7 +429,7 @@ Barrier
428
429
.. coroutinemethod :: abort()
429
430
430
431
Put the barrier into a broken state. This causes any active or future
431
- calls to :meth: `wait ` to fail with the :class: `BrokenBarrierError `.
432
+ calls to :meth: `~Barrier. wait ` to fail with the :class: `BrokenBarrierError `.
432
433
Use this for example if one of the tasks needs to abort, to avoid infinite
433
434
waiting tasks.
434
435
You can’t perform that action at this time.
0 commit comments