diff options
author | Tamir Duberstein <tamird@google.com> | 2020-06-30 12:23:23 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-06-30 12:25:03 -0700 |
commit | 4784ed46ef0573aef06400e39a286062ba73f368 (patch) | |
tree | 87ddcfd1937bfa71c8a854dc61f2ffbb69d6af34 /test/syscalls/linux/tcp_socket.cc | |
parent | dce2dfae046cdc29b2ac3b949a76d6b0ee2348a5 (diff) |
Avoid multiple atomic loads
...by calling (*tcp.endpoint).EndpointState only once when possible.
Avoid wrapping (*sleep.Waker).Assert in a useless func while I'm here.
PiperOrigin-RevId: 319074149
Diffstat (limited to 'test/syscalls/linux/tcp_socket.cc')
0 files changed, 0 insertions, 0 deletions