Commit Graph

1 Commits (0807e3e2f78f16ce65f850c37b44458b5a5e278e)

Author SHA1 Message Date
Josh Bleecher Snyder bf24d54143 syncs: add AssertLocked
This allows us to check lock invariants.

It was proposed upstream and rejected in:
https://github.com/golang/go/issues/1366

Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
5 years ago