When locking a priority inherit mutex we perform a compare and swap
operation to try and acquire the mutex. This may fail even when the
compare succeeds.
Check and handle this case.
PR: 263825
Differential D35150
Handle cas failure when the compare succeeds andrew on May 9 2022, 3:02 PM. Authored by Tags None Referenced Files
Details When locking a priority inherit mutex we perform a compare and swap Check and handle this case. PR: 263825
Diff Detail
Event TimelineComment Actions I checked for the described condition by testing for rv == 1. Then it does not need this long comment.
Comment Actions rv == 1 could be because the compare failed, or the store failed. The check is for the store case that was missing.
|