Co-authored-by: Eisuke Kawashima <e-kwsm@users.noreply.github.com> Co-authored-by: systems-assistant[bot] <systems-assistant[bot]@users.noreply.github.com> Co-authored-by: Maisam Arif <Maisam.Arif@amd.com>
To prevent reset the mutex while using it, only reset the mutex if it cannot acquire it. Change-Id: I95e0ed1bf543f285ce81b4df9c51e16a88081d38 [ROCm/rocm_smi_lib commit: 160c99d12d]
160c99d12d
Change-Id: Idc524e01ba06eb5c8d1682becaf5bf8ced5bffcf [ROCm/rocm_smi_lib commit: 6594f8f58b]
6594f8f58b