create_kill_pool_fn#
- caf.toolkit.concurrency.multiprocessing_wrapper.create_kill_pool_fn(pool, terminate_process_event)[source]#
Create a Callback function for each function in a Pool.
This is called whenever an exception is raised inside one of the processes in a Pool. This is mostly used to give a clean error output when an error occurs.
- Parameters:
pool (Pool)
terminate_process_event (Event)