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