Skip to content

Glossary: Python Beyond the Basics

concurrent.futures

Also written: ThreadPoolExecutor, ProcessPoolExecutor, thread pool

The module providing thread pools and process pools. `ThreadPoolExecutor.map` runs a function on many items at once, and `ProcessPoolExecutor` does the same in separate copies of Python.

Where the book teaches it

Related terms

threadCPU-boundcore