summaryrefslogtreecommitdiffhomepage
path: root/runsc/sandbox/sandbox.go
diff options
context:
space:
mode:
authorGhanan Gowripalan <ghanan@google.com>2021-09-15 23:48:05 -0700
committergVisor bot <gvisor-bot@google.com>2021-09-15 23:51:11 -0700
commit477d7e5e10378e2f80f21ac9f536d12c4b94d7ce (patch)
treebcda9c47bdaee2be8f4594f636d2271482d56a64 /runsc/sandbox/sandbox.go
parenta8ad692fd36cbaf7f5a6b9af39d601053dbee338 (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/sandbox/sandbox.go')
0 files changed, 0 insertions, 0 deletions