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.
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