Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Switch synchronization primitive usage to parking_lot #6564
As described in https://internals.rust-lang.org/t/standard-library-synchronization-primitives-and-undefined-behavior/8439 , the behaviour of rust's stdlib synchronization primitives can vary on different platforms, and we suspect that this could be making some synchronization issues harder to reproduce and track down.
On a whim (and because
Fixes #6510, and hopefully makes the behaviour of locking more consistent cross-platform. Performance remains roughly equivalent.