pymead.utils.pymead_mp#

Functions

collect_child_processes(parent_pid)

Recursively gathers all the child processes of a parent process (up to the default Python recursion depth) and casts them to a list.

kill_all_processes_in_list(processes[, sig])

Kills all psutil processes in the input list using the specified termination signal.

kill_child_processes(parent_pid[, sig])

Kills all child processes (using SIGTERM) of a process with a given PID.

kill_xfoil_mses_processes([sig])

pool_terminate_multi_tiered(pool)

Multi-tiered multiprocessing pool termination function that tries several pool termination methods in sequence from least forceful to most forceful to guarantee that the pool is closed, especially when a significant portion of the CPU and RAM are being used.