summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/stack/stack_options.go
diff options
context:
space:
mode:
authorTamir Duberstein <tamird@google.com>2020-07-05 06:08:52 -0700
committergVisor bot <gvisor-bot@google.com>2020-07-05 06:10:21 -0700
commit0c13538664329cac40d6eccd642909285a6c32a1 (patch)
treeff83f917d148855c2e53e2ab09eb96b49771444d /pkg/tcpip/stack/stack_options.go
parent5ac34386a73bb37e5d99201327e0b3eed7abdb46 (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/tcpip/stack/stack_options.go')
0 files changed, 0 insertions, 0 deletions