commit | 85c5a0a91d503d4cf4b5101ec0c83e9299f7074b | [log] [tgz] |
---|---|---|
author | bcwhite <[email protected]> | Tue Nov 03 18:19:06 2015 |
committer | Commit bot <[email protected]> | Tue Nov 03 18:20:22 2015 |
tree | 483fd54419d045c2381b3ac39e95aab002d86ff5 | |
parent | 16b9a9b067f3de540359fefbf1d79c7c25905781 [diff] |
Add negative test case for CompareAndSwap. Make sure that CompareAndSwap isn't doing things when it shouldn't. This also doubles as an example of how to detect "failure" if someone is trying to figure out how to use CompareAndSwap. BUG= Review URL: https://codereview.chromium.org/1410713009 Cr-Commit-Position: refs/heads/master@{#357555}