JoinableQueue, a Queue subclass, is a queue which additionally has task_done() and join() methods.
class multiprocessing.JoinableQueue([maxsize])