tailscale/syncs
Uri Gorelik b88929edf8 Fix potential goroutine leak in syncs/watchdog.go
Depending on how the preemption will occur, in some scenarios sendc
would have blocked indefinitely even after cancelling the context.

Fixes #10315

Signed-off-by: Uri Gorelik <uri.gore@gmail.com>
2023-11-18 10:37:29 -08:00
..
locked.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
locked_test.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
shardedmap.go syncs: add ShardedMap.Mutate 2023-06-28 08:43:15 -07:00
shardedmap_test.go syncs: add ShardedMap.Mutate 2023-06-28 08:43:15 -07:00
syncs.go syncs: add Map.LoadFunc (#9869) 2023-10-18 15:02:45 -07:00
syncs_test.go syncs: add Map.LoadFunc (#9869) 2023-10-18 15:02:45 -07:00
watchdog.go Fix potential goroutine leak in syncs/watchdog.go 2023-11-18 10:37:29 -08:00
watchdog_test.go syncs: relax TestWatchMultipleValues timing on Windows 2023-04-19 19:00:34 -07:00