On the read side avoid writing to memory via volatile. The volatile access will generate its own tsan checks because it is touching memory. On the write side also avoid the volatile access by unconditionally writing to the memory. The address used for the tsan validation is dedicated for it so it doesn't matter if we write arbitrary values to it. PiperOrigin-RevId: 559841351pull/13667/head
parent
879a51285a
commit
066465c978
1 changed files with 10 additions and 9 deletions
Loading…
Reference in new issue