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
Starting with Rust 1.62, the standard lib mutexes have roughly equal performance to parking_lot: rust-lang/rust#95035
IMO we could replace parking_lot with the standard lib mutexes throughout our code.
The text was updated successfully, but these errors were encountered:
This looks pretty good to me! It will help reduce the size of the library as well!
The only snag I can foresee is that we will have to deal with the possibility of poisoned Mutexes again, unless std did away with that?
poison
std
Sorry, something went wrong.
Yes, the lock() calls will be slightly uglier, but lock poisoning is a safety feature, so I'd say it's a net win.
lock()
Sounds good to me. The more we can use from stdlib the better 🙂
stdlib
Successfully merging a pull request may close this issue.
Starting with Rust 1.62, the standard lib mutexes have roughly equal performance to parking_lot: rust-lang/rust#95035
IMO we could replace parking_lot with the standard lib mutexes throughout our code.
The text was updated successfully, but these errors were encountered: