diff options
author | Ghanan Gowripalan <ghanan@google.com> | 2021-09-15 23:48:05 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-09-15 23:51:11 -0700 |
commit | 477d7e5e10378e2f80f21ac9f536d12c4b94d7ce (patch) | |
tree | bcda9c47bdaee2be8f4594f636d2271482d56a64 /runsc/cmd/debug.go | |
parent | a8ad692fd36cbaf7f5a6b9af39d601053dbee338 (diff) |
Annotate checklocks on mutex protected fields
...to catch lock-related bugs in nogo tests.
Also update the endpoint's state field to be accessed while the mutex is
held instead of requiring atomic operations as nothing needs to call the
State method while the mutex is held.
Updates #6566.
PiperOrigin-RevId: 397010316
Diffstat (limited to 'runsc/cmd/debug.go')
0 files changed, 0 insertions, 0 deletions