tailscale/wgengine/bench
Josh Bleecher Snyder a72fb7ac0b wgengine/bench: handle multiple Engine status callbacks
It is possible to get multiple status callbacks from an Engine.
We need to wait for at least one from each Engine.
Without limiting to one per Engine,
wait.Wait can exit early or can panic due to a negative counter.

Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
2021-05-10 09:45:35 -07:00
..
bench_test.go wgengine/bench: close Engines on benchmark completion 2021-05-10 09:45:35 -07:00
bench.go wgengine/bench: close Engines on benchmark completion 2021-05-10 09:45:35 -07:00
trafficgen.go wgengine/bench: improved rate selection. 2021-04-26 03:51:13 -04:00
wg.go wgengine/bench: handle multiple Engine status callbacks 2021-05-10 09:45:35 -07:00