PyDocs

Nav

Concurrent Execution

Queue.join

queue

method of Queue (source)
  • Queue.join()
Blocks until all items in the Queue have been gotten and processed.

The count of unfinished tasks goes up whenever an item is added to the
queue. The count goes down whenever a consumer thread calls task_done()
to indicate the item was retrieved and all work on it is complete.

When the count of unfinished tasks drops to zero, join() unblocks.
0 Examples
No examples for queue/Queue.join.
See Also
No see-alsos for queue/Queue.join
0 Notes
No notes for Queue.join