Lines Matching refs:inqueue
88 def worker(inqueue, outqueue, initializer=None, initargs=(), maxtasks=None): argument
91 get = inqueue.get
92 if hasattr(inqueue, '_writer'):
93 inqueue._writer.close()
477 def _help_stuff_finish(inqueue, task_handler, size): argument
480 inqueue._rlock.acquire()
481 while task_handler.is_alive() and inqueue._reader.poll():
482 inqueue._reader.recv()
486 def _terminate_pool(cls, taskqueue, inqueue, outqueue, pool, argument
495 cls._help_stuff_finish(inqueue, task_handler, len(pool))
736 def _help_stuff_finish(inqueue, task_handler, size): argument
738 inqueue.not_empty.acquire()
740 inqueue.queue.clear()
741 inqueue.queue.extend([None] * size)
742 inqueue.not_empty.notify_all()
744 inqueue.not_empty.release()