We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello!
I tried a simple example with Arc with calling drop from 2 different threads and tsan reports a race on it https://gist.github.com/vors/83d78aa5e4b0cc0f730f54d99eafd692 . Is it because it ignores the atomic::fence or for some other reason? The implementation is pretty much rewrite in rust of this boost example: https://www.boost.org/doc/libs/1_55_0/doc/html/atomic/usage_examples.html#boost_atomic.usage_examples.example_reference_counters
Arc
drop
atomic::fence
The text was updated successfully, but these errors were encountered:
This is fixed now in Rust itself.
Sorry, something went wrong.
No branches or pull requests
Hello!
I tried a simple example with
Arc
with callingdrop
from 2 different threads and tsan reports a race on it https://gist.github.com/vors/83d78aa5e4b0cc0f730f54d99eafd692 .Is it because it ignores the
atomic::fence
or for some other reason?The implementation is pretty much rewrite in rust of this boost example: https://www.boost.org/doc/libs/1_55_0/doc/html/atomic/usage_examples.html#boost_atomic.usage_examples.example_reference_counters
The text was updated successfully, but these errors were encountered: