tailscale/syncs
Andrew Dunham e382e4cee6 syncs: add Swap method
To mimic sync.Map.Swap, sync/atomic.Value.Swap, etc.

Updates tailscale/corp#1297

Signed-off-by: Andrew Dunham <andrew@du.nham.ca>
Change-Id: If7627da1bce8b552873b21d7e5ebb98904e9a650
2024-03-19 18:39:44 -04:00
..
locked.go
locked_test.go
shardedmap.go
shardedmap_test.go
syncs.go syncs: add Swap method 2024-03-19 18:39:44 -04:00
syncs_test.go syncs: add Swap method 2024-03-19 18:39:44 -04:00
watchdog.go Fix potential goroutine leak in syncs/watchdog.go 2023-11-18 10:37:29 -08:00
watchdog_test.go