mirror of
https://github.com/tailscale/tailscale.git
synced 2026-10-20 02:12:17 -04:00
syncs: use TryLock and TryRLock instead of unsafe
The docs say: Note that while correct uses of TryLock do exist, they are rare, and use of TryLock is often a sign of a deeper problem in a particular use of mutexes. Rare code! Or bad code! Who can tell! Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
This commit is contained in:
500 Internal Server Error
Gitea Version: 1.28.0+dev-477-g8b6ad49a5f