commit | 74c84408ad56606514304c9ecc643bebbf11d73e | [log] [tgz] |
---|---|---|
author | Alex Light <allight@google.com> | Wed Nov 29 15:26:38 2017 -0800 |
committer | Alex Light <allight@google.com> | Fri Dec 01 15:54:33 2017 -0800 |
tree | eac08986f86f00962327c07441c088a3e62cc132 | |
parent | 1f541bf57dfdfe4faf169b811aadb91298a886ca [diff] |
Ensure that updates to the global event mask are atomic We were setting and testing the global event mask in a way that allowed races with other threads. This could cause issues if multiple threads write to the mask at the same time and could cause changes to the current event state to be missed. Test: ./test.py --host -j50 Bug: 69657830 Change-Id: I5e2759af598e6179fd25fcbe6b211a9369217156