Skip to content

Commit

Permalink
Auto merge of #120238 - joboet:always_confirm_lock_success, r=Mark-Si…
Browse files Browse the repository at this point in the history
…mulacrum

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.
  • Loading branch information
bors committed Feb 9, 2024
2 parents 2418f19 + 3e57ae4 commit 5275802
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 5275802

Please sign in to comment.