Lines Matching refs:ThreadPoolExecutor
18 :class:`ThreadPoolExecutor`, or separate processes, using
37 with ThreadPoolExecutor(max_workers=1) as executor:
65 :class:`ThreadPoolExecutor`, *chunksize* has no effect.
91 with ThreadPoolExecutor(max_workers=4) as e:
98 ThreadPoolExecutor chapter
101 :class:`ThreadPoolExecutor` is an :class:`Executor` subclass that uses a pool of
119 executor = ThreadPoolExecutor(max_workers=2)
131 executor = ThreadPoolExecutor(max_workers=1)
135 .. class:: ThreadPoolExecutor(max_workers=None, thread_name_prefix='', initializer=None, initargs=(…
149 multiplied by ``5``, assuming that :class:`ThreadPoolExecutor` is often
165 ThreadPoolExecutor Example
184 with concurrent.futures.ThreadPoolExecutor(max_workers=5) as executor:
474 class is raised when one of the workers of a :class:`ThreadPoolExecutor`