Closed Darksonn closed 2 years ago
Meh, not sure the macro adds that much.
Originally I had misspelled #[cfg(sanitize = "thread")]
as #[cfg(thread = "sanitize")]
, which caused it to not work. Unfortunately, when fixing that, it turns out to still be unstable. The current version will always use an acquire load rather than a fence. This is compatible with TSAN. Thoughts?
Was previously attempted in #405, but that PR was closed due to TSAN detection being unstable.
Closes: #540