You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a hard problem, I think the only way forward I see is to have a macro which converts all atomics to sequential consistent and removes the barriers. Not something I'm that keen on though as it would be quite painful to maintain. Id be open to a PR
I've pondered over this and converting atomics is not really something that looks tempting. Don't want to increase the future maintenance burden a lot. So I searched around and looked for other ways to make tsan happy.
libfork uses
std::atomic_thread_fence
which is not compatible with ThreadSanitizer.If/when tracking down a problem in my code, it would be nice to not get false positives from libfork.
Has this problem been considered and is there something that can be done?
The text was updated successfully, but these errors were encountered: