Amanieu / parking_lot

Compact and efficient synchronization primitives for Rust. Also provides an API for creating custom synchronization primitives.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update documentation of differences between `parking_lot::Mutex` and `std::sync::Mutex`

Qqwy opened this issue · comments

I was today years old when I found out that actually Rust's Mutexes have been optimized to no longer box on most platforms, already back in v1.62.0 (tracking issue).
Besides this, I believe the standard mutexes can now also be statically constructed.

I think it would be good to revisit the list of differences in parking_lot's README and in the module-docs of Mutex since they are no longer fully up-to-date.