-
- Downloads
Wrap slurm_cond_signal() calls with mutexes where needed.
Bug 5231 Change slurmctld/controller.c's purge_thread_lock from static to global extern, so the mutex can be used in slurmctld/job_mgr.c slurm_cond_signal() needs to always be wrapped in the same mutex as slurm_cond_[timed]wait(), or else there is a possibility that slurm_cond_signal() will trigger before slurm_cond_[timed]wait() is even listening, most likely causing a deadlock.
Showing
- NEWS 1 addition, 0 deletionsNEWS
- src/common/slurm_acct_gather_energy.c 2 additions, 0 deletionssrc/common/slurm_acct_gather_energy.c
- src/common/slurm_acct_gather_filesystem.c 2 additions, 0 deletionssrc/common/slurm_acct_gather_filesystem.c
- src/common/slurm_acct_gather_interconnect.c 2 additions, 0 deletionssrc/common/slurm_acct_gather_interconnect.c
- src/common/slurm_acct_gather_profile.c 2 additions, 0 deletionssrc/common/slurm_acct_gather_profile.c
- src/common/slurm_jobacct_gather.c 2 additions, 0 deletionssrc/common/slurm_jobacct_gather.c
- src/slurmctld/controller.c 3 additions, 1 deletionsrc/slurmctld/controller.c
- src/slurmctld/job_mgr.c 6 additions, 0 deletionssrc/slurmctld/job_mgr.c
- src/slurmctld/slurmctld.h 1 addition, 0 deletionssrc/slurmctld/slurmctld.h
Loading
Please register or sign in to comment