Fix potential deadlock in _run_prog().
_run_prog() executes after a fork(), if some thread in the parent was holding slurm_conf_lock() it would never be released, and the child will deadlocked. Already fixed for 17.11 by commit e205eeaf, this backports just the change for _run_prog(). Bug 4562.
Please register or sign in to comment