summary refs log tree commit diff
path: root/compiler/rustc_graphviz/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-02-09 10:27:16 +0000
committerbors <bors@rust-lang.org>2024-02-09 10:27:16 +0000
commit972452c4473b2d8f6f6415614f915296bfc34f12 (patch)
treef8a2b5e5419dce955567e0d2ed53aa2d79a5474b /compiler/rustc_graphviz/src
parent98aa3624be70462d6a25ed5544333e3df62f4c66 (diff)
parent1df1ebf6add883bcd620c607da40cda3b0fcfc3d (diff)
downloadrust-972452c4473b2d8f6f6415614f915296bfc34f12.tar.gz
rust-972452c4473b2d8f6f6415614f915296bfc34f12.zip
Auto merge of #120238 - joboet:always_confirm_lock_success, r=Mark-Simulacrum
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.
Diffstat (limited to 'compiler/rustc_graphviz/src')
0 files changed, 0 insertions, 0 deletions