betty.multiprocessing module¶
Multiprocessing functionality.
- class betty.multiprocessing.ProcessPoolExecutor¶
Bases:
ProcessPoolExecutorLike
concurrent.futures.ProcessPoolExecutor, but with error handling and low memory consumption.This uses the
spawnmethod to create new processes, which is the Python 3.14 default.This ignores
SIGINT/KeyboardInterruptdelivered to it by the parent process to prevent unhelpful additionalKeyboardInterruptbeing raised from within the process pool.