Commit Graph

1 Commits (39f7a61e9c1fe0ae91348b967b22d1a7eddb10c7)

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>
4 years ago