PyDocs

Nav

Concurrent Execution

Barrier.wait

threading

method of Barrier (source) not WASI
  • Barrier.wait(timeout=None)
Wait for the barrier.

When the specified number of threads have started waiting, they are all
simultaneously awoken. If an 'action' was provided for the barrier, one
of the threads will have executed that callback prior to returning.
Returns an individual index number from 0 to 'parties-1'.
0 Examples
No examples for threading/Barrier.wait.
See Also
No see-alsos for threading/Barrier.wait
0 Notes
No notes for Barrier.wait