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,
-
-
Hmm that is a good point.
-
Well, kind of. In practice, it’s difficult to prevent the other thread from seeing a change indefinitely (even if nothing else uses instructions that act as barriers, which is *extremely* unlikely) There are, of course, ordering issues, and eventually might not be good enough.
Kraj razgovora
Novi razgovor -
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.