Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[TSan] Yet another idea about whitelisting data races #5310
I would like to propose another idea about how to deal with the instrumentation of data races. Inspired by atomic.h and the
The Main Problem:
Using inline functions that follow the exact same interface like the functions in atomic.h.
To demonstrate the idea, I used
I really hope that this idea gets accepted by the community since I would love to finally have the possibility of blacklisting single racy instructions. Detecting actual (harmuful) data races would be a lot more precise and reliable. If accepted, I would of course expand these function family (we will need things like