mirror of https://github.com/tailscale/tailscale/
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: If7627da1bce8b552873b21d7e5ebb98904e9a650pull/11471/head
parent
6288c9b41e
commit
e382e4cee6
Loading…
Reference in New Issue