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
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
2 months ago
..
locked.go all: update copyright and license headers 1 year ago
locked_test.go all: update copyright and license headers 1 year ago
shardedmap.go syncs: add ShardedMap.Mutate 11 months ago
shardedmap_test.go syncs: add ShardedMap.Mutate 11 months ago
syncs.go syncs: add Swap method 2 months ago
syncs_test.go syncs: add Swap method 2 months ago
watchdog.go Fix potential goroutine leak in syncs/watchdog.go 6 months ago
watchdog_test.go syncs: relax TestWatchMultipleValues timing on Windows 1 year ago