commit | b1a7c9453e9abeaa09ab6c167138fa7d28b625d5 | [log] [tgz] |
---|---|---|
author | Mathieu Chartier <mathieuc@google.com> | Tue Jan 10 16:48:11 2017 -0800 |
committer | Mathieu Chartier <mathieuc@google.com> | Tue Jan 10 16:59:36 2017 -0800 |
tree | a94b5a2ba78e76129f04a92adf85ed7589f6a4ab | |
parent | 2e17788df086284845108c6b39954a5c74e93a69 [diff] |
Fix possible deadlock in AddAccessFlags and ClearAccessFlags Reload the value each loop iteration or else it will spin forever if the CAS fails due to another thread adding a different flag. Test: mm Change-Id: Idc320921597acc20d56301899b398756563029f2