summaryrefslogtreecommitdiffhomepage
path: root/pkg/sync/race_unsafe.go
diff options
context:
space:
mode:
authorJamie Liu <jamieliu@google.com>2020-07-06 22:54:01 -0700
committergVisor bot <gvisor-bot@google.com>2020-07-06 22:55:48 -0700
commite227450dc1ec1ef07b9a6a5983ce2f2e0dec22b1 (patch)
treefdbbae656066f108a85c165934bf509b7f4271ca /pkg/sync/race_unsafe.go
parent937912a4847cb1fd2acb79c0dd8fbc4b27695156 (diff)
Call fdnotifier.UpdateFD() from fsimpl/gofer.specialFileFD.
The fdnotifier package provides an API to a thread that continually epolls arbitrary host FDs. The set of events polled for each host FD is (intended to be) all events for which a waiter.Entry has expressed interest, as returned by waiter.Queue.Events() for the waiter.Queue registered to the given host FD. When the set of events changes (due to a change in the set of registered waiter.Entries), the mutator must call fdnotifier.UpdateFD() to recalculate the new event set and propagate it to the epoll FD. PiperOrigin-RevId: 319924719
Diffstat (limited to 'pkg/sync/race_unsafe.go')
0 files changed, 0 insertions, 0 deletions