Chromium Code Reviews
DescriptionMojo EDK: Circulate MojoArmWatcher outputs to avoid starvation
Changes the implementation of MojoArmWatcher slightly so that
the set of ready handles is circulated across consecutive calls,
avoiding potential handle starvation by callers requesting a
small fixed number of outputs each time.
Also correctly iterates over only the ready handles in
WatcherDispatcher::Arm(), rather than less efficiently iterating
over all watched handles. (Ooops!)
BUG=700171
R=yzshen@chromium.org
Review-Url: https://codereview.chromium.org/2754083003
Cr-Commit-Position: refs/heads/master@{#457557}
Committed: https://chromium.googlesource.com/chromium/src/+/9d95f9e5de8e1e95beaaead0bbaad3fbfdc84e15
Patch Set 1 #Patch Set 2 : . #
Total comments: 4
Patch Set 3 : . #
Total comments: 2
Dependent Patchsets: Messages
Total messages: 19 (11 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||