Searched refs:inqueue (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Lib/multiprocessing/ |
D | pool.py | 88 def worker(inqueue, outqueue, initializer=None, initargs=(), maxtasks=None): argument 91 get = inqueue.get 92 if hasattr(inqueue, '_writer'): 93 inqueue._writer.close() 482 def _help_stuff_finish(inqueue, task_handler, size): argument 485 inqueue._rlock.acquire() 486 while task_handler.is_alive() and inqueue._reader.poll(): 487 inqueue._reader.recv() 491 def _terminate_pool(cls, taskqueue, inqueue, outqueue, pool, argument 500 cls._help_stuff_finish(inqueue, task_handler, len(pool)) [all …]
|
/external/python/cpython3/Lib/multiprocessing/ |
D | pool.py | 93 def worker(inqueue, outqueue, initializer=None, initargs=(), maxtasks=None, argument 99 get = inqueue.get 100 if hasattr(inqueue, '_writer'): 101 inqueue._writer.close() 563 def _help_stuff_finish(inqueue, task_handler, size): argument 566 inqueue._rlock.acquire() 567 while task_handler.is_alive() and inqueue._reader.poll(): 568 inqueue._reader.recv() 572 def _terminate_pool(cls, taskqueue, inqueue, outqueue, pool, argument 581 cls._help_stuff_finish(inqueue, task_handler, len(pool)) [all …]
|