Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/concurrent/futures/
Dthread.py66 def _worker(executor_reference, work_queue, initializer, initargs): argument
69 initializer(*initargs)
114 initializer=None, initargs=()): argument
143 self._initargs = initargs
Dprocess.py204 def _process_worker(call_queue, result_queue, initializer, initargs): argument
219 initializer(*initargs)
491 initializer=None, initargs=()): argument
520 self._initargs = 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/python/cpython3/Lib/multiprocessing/
Dpool.py93 def worker(inqueue, outqueue, initializer=None, initargs=(), maxtasks=None, argument
105 initializer(*initargs)
155 def __init__(self, processes=None, initializer=None, initargs=(), argument
164 self._initargs = initargs
801 def __init__(self, processes=None, initializer=None, initargs=()): argument
802 Pool.__init__(self, processes, initializer, initargs)
Dcontext.py114 def Pool(self, processes=None, initializer=None, initargs=(), argument
118 return Pool(processes, initializer, initargs, maxtasksperchild,
Dmanagers.py516 def start(self, initializer=None, initargs=()): argument
539 self._serializer, writer, initializer, initargs),
561 initializer=None, initargs=()): argument
566 initializer(*initargs)
/external/swiftshader/third_party/llvm-7.0/llvm/tools/opt-viewer/
Doptpmap.py48 initargs=(_current, _total,),
/external/python/cpython3/Doc/library/
Dconcurrent.futures.rst135 .. class:: ThreadPoolExecutor(max_workers=None, thread_name_prefix='', initializer=None, initargs=(…
141 each worker thread; *initargs* is a tuple of arguments passed to the
160 Added the *initializer* and *initargs* arguments.
212 .. class:: ProcessPoolExecutor(max_workers=None, mp_context=None, initializer=None, initargs=())
224 each worker process; *initargs* is a tuple of arguments passed to the
239 Added the *initializer* and *initargs* arguments.
Dmultiprocessing.rst1625 .. method:: start([initializer[, initargs]])
1628 then the subprocess will call ``initializer(*initargs)`` when it starts.
2077 .. class:: Pool([processes[, initializer[, initargs[, maxtasksperchild [, context]]]]])
2087 ``initializer(*initargs)`` when it starts.
/external/autotest/server/cros/dynamic_suite/
Dfakes.py134 def __init__(self, processes=None, initializer=None, initargs=(), argument
/external/tensorflow/tensorflow/python/keras/utils/
Ddata_utils.py600 workers, initializer=init_pool_generator, initargs=(seqs, None))
718 initargs=(seqs, self.random_seed))
/external/python/cpython3/Lib/test/
Dtest_concurrent_futures.py203 initargs=('initialized',))
223 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.rst812 support the new *initializer* and *initargs* constructor arguments.