Home
last modified time | relevance | path

Searched refs:initargs (Results 1 – 18 of 18) sorted by relevance

/external/python/cpython3/Lib/concurrent/futures/
Dthread.py63 def _worker(executor_reference, work_queue, initializer, initargs): argument
66 initializer(*initargs)
118 initializer=None, initargs=()): argument
153 self._initargs = initargs
Dprocess.py215 def _process_worker(call_queue, result_queue, initializer, initargs): argument
230 initializer(*initargs)
574 initializer=None, initargs=()): argument
610 self._initargs = initargs
/external/python/cpython3/Lib/multiprocessing/
Dpool.py97 def worker(inqueue, outqueue, initializer=None, initargs=(), maxtasks=None, argument
109 initializer(*initargs)
183 def __init__(self, processes=None, initializer=None, initargs=(), argument
200 self._initargs = initargs
313 outqueue, initializer, initargs, argument
322 initargs, maxtasksperchild,
332 initializer, initargs, maxtasksperchild, argument
339 initargs, maxtasksperchild,
505 pool, inqueue, outqueue, initializer, initargs, argument
514 outqueue, initializer, initargs,
[all …]
Dcontext.py115 def Pool(self, processes=None, initializer=None, initargs=(), argument
119 return Pool(processes, initializer, initargs, maxtasksperchild,
Dmanagers.py526 def start(self, initializer=None, initargs=()): argument
549 self._serializer, writer, initializer, initargs),
571 initializer=None, initargs=()): argument
579 initializer(*initargs)
/external/python/cpython3/Lib/multiprocessing/dummy/
D__init__.py122 def Pool(processes=None, initializer=None, initargs=()): argument
124 return ThreadPool(processes, initializer, initargs)
/external/python/cpython2/Lib/multiprocessing/dummy/
D__init__.py149 def Pool(processes=None, initializer=None, initargs=()): argument
151 return ThreadPool(processes, initializer, initargs)
/external/python/cpython2/Lib/multiprocessing/
D__init__.py227 def Pool(processes=None, initializer=None, initargs=(), maxtasksperchild=None): argument
232 return Pool(processes, initializer, initargs, maxtasksperchild)
Dpool.py88 def worker(inqueue, outqueue, initializer=None, initargs=(), maxtasks=None): argument
97 initializer(*initargs)
138 def __init__(self, processes=None, initializer=None, initargs=(), argument
146 self._initargs = initargs
731 def __init__(self, processes=None, initializer=None, initargs=()): argument
732 Pool.__init__(self, processes, initializer, initargs)
Dmanagers.py504 def start(self, initializer=None, initargs=()): argument
520 self._serializer, writer, initializer, initargs),
542 initializer=None, initargs=()): argument
547 initializer(*initargs)
/external/llvm-project/llvm/tools/opt-viewer/
Doptpmap.py48 initargs=(_current, _total,),
/external/python/cpython3/Doc/library/
Dconcurrent.futures.rst147 .. class:: ThreadPoolExecutor(max_workers=None, thread_name_prefix='', initializer=None, initargs=(…
153 each worker thread; *initargs* is a tuple of arguments passed to the
172 Added the *initializer* and *initargs* arguments.
234 .. class:: ProcessPoolExecutor(max_workers=None, mp_context=None, initializer=None, initargs=())
250 each worker process; *initargs* is a tuple of arguments passed to the
265 Added the *initializer* and *initargs* arguments.
Dmultiprocessing.rst1664 .. method:: start([initializer[, initargs]])
1667 then the subprocess will call ``initializer(*initargs)`` when it starts.
2116 .. class:: Pool([processes[, initializer[, initargs[, maxtasksperchild [, context]]]]])
2126 ``initializer(*initargs)`` when it starts.
/external/autotest/server/cros/dynamic_suite/
Dfakes.py139 def __init__(self, processes=None, initializer=None, initargs=(), argument
/external/tensorflow/tensorflow/python/keras/utils/
Ddata_utils.py722 initargs=(seqs, None, get_worker_id_queue()))
864 initargs=(seqs, self.random_seed, get_worker_id_queue()))
/external/python/cpython3/Lib/test/
Dtest_concurrent_futures.py209 initargs=('initialized',))
229 initargs=(self.log_queue,))
/external/python/cpython2/Doc/library/
Dmultiprocessing.rst1383 .. method:: start([initializer[, initargs]])
1386 then the subprocess will call ``initializer(*initargs)`` when it starts.
1791 .. class:: multiprocessing.Pool([processes[, initializer[, initargs[, maxtasksperchild]]]])
1800 ``initializer(*initargs)`` when it starts.
/external/python/cpython3/Doc/whatsnew/
D3.7.rst817 support the new *initializer* and *initargs* constructor arguments.