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
Like a Mutex, RwLock might panic if the current thread already holds a lock. This however is not documented.
Mutex
RwLock
The text was updated successfully, but these errors were encountered:
It might also not panic and simply deadlock. Or it might even cause undefined behavior.
Sorry, something went wrong.
Additionally error checking is done only on debug mode, so it can silently fail without actually locking anything.
Rollup merge of rust-lang#37141 - nabeelomer:master, r=sfackler
dd25442
Documented that RwLock might panic Fixes rust-lang#37010
No branches or pull requests
Like a
Mutex
,RwLock
might panic if the current thread already holds a lock. This however is not documented.The text was updated successfully, but these errors were encountered: