diff options
author | Bhasker Hariharan <bhaskerh@google.com> | 2021-06-25 12:23:01 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-06-25 12:26:12 -0700 |
commit | f00077e8d8d59ee6db93a3ece24c5f3f5156eda5 (patch) | |
tree | e2bf86c217479ee6a89374b02c3a7ae81a3ab776 /pkg/sync/mutex_test.go | |
parent | 4feb9187bbc87fdb3f90a82598eeb10f46142b6e (diff) |
Remove sndQueue as its pointless now.
sndQueue made sense when the worker goroutine and the syscall context held
different locks. Now both lock the endpoint lock before doing anything which
means adding to sndQueue is pointless as we move it to writeList immediately
after that in endpoint.Write() by calling e.drainSendQueue.
PiperOrigin-RevId: 381523177
Diffstat (limited to 'pkg/sync/mutex_test.go')
0 files changed, 0 insertions, 0 deletions