You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/syncs
Josh Bleecher Snyder 997b19545b 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>
3 years ago
..
locked.go syncs: use TryLock and TryRLock instead of unsafe 3 years ago
locked_test.go syncs: mark as safe for Go 1.18 3 years ago
syncs.go wgengine/{monitor,router}: restore Linux ip rules when systemd deletes them 3 years ago
syncs_test.go
watchdog.go staticcheck.conf: turn off noisy lint errors 3 years ago
watchdog_test.go