diff options
author | Tamir Duberstein <tamird@google.com> | 2020-07-05 06:08:52 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-07-05 06:10:21 -0700 |
commit | 0c13538664329cac40d6eccd642909285a6c32a1 (patch) | |
tree | ff83f917d148855c2e53e2ab09eb96b49771444d /pkg/sentry/socket/hostinet/BUILD | |
parent | 5ac34386a73bb37e5d99201327e0b3eed7abdb46 (diff) |
Add wakers synchronously
Avoid a race where an arbitrary goroutine scheduling delay can cause the
processor to miss events and hang indefinitely.
Reduce allocations by storing processors by-value in the dispatcher, and
by using a single WaitGroup rather than one per processor.
PiperOrigin-RevId: 319665861
Diffstat (limited to 'pkg/sentry/socket/hostinet/BUILD')
0 files changed, 0 insertions, 0 deletions