mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-02 14:07:10 +00:00
Always check the result of `pthread_mutex_lock` Fixes #120147. Instead of manually adding a list of "good" platforms, I've simply made the check unconditional. pthread's mutex is already quite slow on most platforms, so one single well-predictable branch shouldn't hurt performance too much.