returnn.util.multi_proc_manager_with_watchdog

Manager with watchdog

returnn.util.multi_proc_manager_with_watchdog.create_manager(*, ctx: BaseContext | None = None) SyncManager[source]

Basically the same as multiprocessing.Manager() or ctx.Manager(), but with a watch dog thread that will kill the manager process if the parent process dies.