PyDocs

Nav

Concurrent Execution

InterpreterPoolExecutor

concurrent.futures

class (source) not WASI
  • InterpreterPoolExecutor(max_workers=None, thread_name_prefix='', initializer=None, initargs=())
A ThreadPoolExecutor subclass that executes calls asynchronously using a pool of at most max_workers threads. Each thread runs tasks in its own interpreter. The worker interpreters are isolated from each other, which means each has its own runtime state and that they can’t share any mutable objects or other data. Each interpreter has its own Global Interpreter Lock, which means code run with this executor has true multi-core parallelism.
0 Examples
No examples for concurrent.futures/InterpreterPoolExecutor.
See Also
No see-alsos for concurrent.futures/InterpreterPoolExecutor
0 Notes
No notes for InterpreterPoolExecutor