class_docstr: Create a queue object with a given maximum size.
  
  If maxsize is <= 0, the queue size is infinite.
docstr: 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.
docstr_tok: ["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","."]
code: def join(self):
      """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.
      """
      with self.all_tasks_done:
          while self.unfinished_tasks:
              self.all_tasks_done.wait()
  
imports: import threading
  import types
  from collections import deque
  from heapq import heappush, heappop
  from time import monotonic
label_desc: Use image node_id 3 for calling the Queue obj's underlying member method code with example usage: obj.join() without return types