diff options
author | Tamir Duberstein <tamird@google.com> | 2018-10-23 08:15:15 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2018-10-23 08:16:13 -0700 |
commit | 692df85673e2398a1a9393029b2a9b72448619f4 (patch) | |
tree | 9ec805b46b89d175cd3b918ac2d9aac5ccbd24ae /pkg/tcpip/buffer | |
parent | 75cd70ecc9abfd5daaefea04da5070a0e0d620dd (diff) |
Simplify channel management
The channels {cancel,resCh} have roughly the same lifetime and are used for
roughly the same purpose as an entry's waiters; we can unify the state
management of the two mechanisms, while also reducing unncessary mutex locking
and unlocking.
Made some cosmetic changes while I'm here.
PiperOrigin-RevId: 218343915
Change-Id: Ic69546a2b7b390162b2231f07f335dd6199472d7
Diffstat (limited to 'pkg/tcpip/buffer')
0 files changed, 0 insertions, 0 deletions