So I am using ThreadSanitizer, and I find myself cleaning up data races that don't matter, in order to keep the output clean. (For example, an atomic set of a flag, where another thread reads that flag word, but doesn't care about that flag). On the one hand,
-
-
doing something that might cause you to miss a real problem later?
Show this threadThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
I don't know what you're doing, but unless you use atomics or barriers or something, there is no guarantee the thread will actually see an updated value.
-
Hmm that is a good point.
- 1 more reply
New conversation -
-
-
You can use blacklist or suppression files; seehttps://github.com/google/sanitizers/wiki/ThreadSanitizerFlags …
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.