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>
2022-03-17 10:57:41 -07:00
..
locked_test.go syncs: mark as safe for Go 1.18 2021-10-27 18:10:09 -07:00
locked.go syncs: use TryLock and TryRLock instead of unsafe 2022-03-17 10:57:41 -07:00
syncs_test.go
syncs.go wgengine/{monitor,router}: restore Linux ip rules when systemd deletes them 2021-07-20 15:52:22 -07:00
watchdog_test.go syncs: stop running TestWatchMultipleValues on CI 2021-05-04 10:21:21 -07:00
watchdog.go staticcheck.conf: turn off noisy lint errors 2021-06-18 15:48:20 -07:00