commit | e9c6faecac3a7e8a96931928b1775d968b1747c5 | [log] [tgz] |
---|---|---|
author | Pavel Grafov <pgrafov@google.com> | Tue Apr 23 14:48:41 2024 +0100 |
committer | Pavel Grafov <pgrafov@google.com> | Tue Apr 23 15:13:22 2024 +0000 |
tree | 29dd0a93447b0a81a95bd389074eebf893aa9cd5 | |
parent | e735e89e2ece44a5d2d65b7d24c2828bb411bdef [diff] |
Remove dead code + trivial refactoring Atomic is unnecessary here, boolean reads and writes are already atomic and with "volatile" will always use main memory, so all writes will be immediately visible to all threads. Atomic is also slower. Bug: 335663055 Flag: EXEMPT removing dead code + trivial refactoring Test: TreeHugger Change-Id: I73e2e4674f81fea7bf790b6230c7281b783bb3c0