tokio-rs / website

Website for the Tokio project
https://tokio.rs
MIT License
228 stars 329 forks source link

Remove suggestion for parking_lot mutexes #714

Closed lf- closed 1 year ago

lf- commented 1 year ago

Lately the std mutex has perfectly fine performance comparable to parking_lot and unlike parking_lot, has lock poisoning. Thus it seems more reasonable to not explicitly recommend it, and if people have one of the specialized use cases where lock choice is super important, they probably know that.

See also: https://hachyderm.io/@rain/110738343644683050