Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(94)

Issue 2085373003: Update WaitSetDispatcher to use the new persistent Awakable stuff. (Closed)

Created:
4 years, 6 months ago by viettrungluu
Modified:
4 years, 6 months ago
Reviewers:
vardhan
CC:
mojo-reviews_chromium.org, gregsimon, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://github.com/domokit/mojo.git@work796_wait_set_4.8-x-work795_wait_set_4.7-x-work794_wait_set_4.6
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Update WaitSetDispatcher to use the new persistent Awakable stuff. * Now the wait set accurately tracks the state of everything it watches. * And there's no more need for the "busy" stuff. * I still have to implement MojoWaitSetWait(), but that should actually be much more straightforward now that state is accurately tracked. R=vardhan@google.com BUG=#350 Committed: https://chromium.googlesource.com/external/mojo/+/17e05c2be2a0c46f2ec88d49626af6770361b5cd

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+124 lines, -148 lines) Patch
M mojo/edk/system/wait_set_dispatcher.h View 2 chunks +29 lines, -36 lines 0 comments Download
M mojo/edk/system/wait_set_dispatcher.cc View 7 chunks +95 lines, -112 lines 2 comments Download

Depends on Patchset:

Messages

Total messages: 5 (1 generated)
viettrungluu
4 years, 6 months ago (2016-06-23 00:37:36 UTC) #1
vardhan
lgtm w/ question https://codereview.chromium.org/2085373003/diff/1/mojo/edk/system/wait_set_dispatcher.cc File mojo/edk/system/wait_set_dispatcher.cc (right): https://codereview.chromium.org/2085373003/diff/1/mojo/edk/system/wait_set_dispatcher.cc#newcode299 mojo/edk/system/wait_set_dispatcher.cc:299: !entry->signals_state.can_satisfy(entry->signals)) { is this right? if ...
4 years, 6 months ago (2016-06-23 18:26:11 UTC) #2
viettrungluu
Thanks. https://codereview.chromium.org/2085373003/diff/1/mojo/edk/system/wait_set_dispatcher.cc File mojo/edk/system/wait_set_dispatcher.cc (right): https://codereview.chromium.org/2085373003/diff/1/mojo/edk/system/wait_set_dispatcher.cc#newcode299 mojo/edk/system/wait_set_dispatcher.cc:299: !entry->signals_state.can_satisfy(entry->signals)) { On 2016/06/23 18:26:11, vardhan wrote: > ...
4 years, 6 months ago (2016-06-23 20:01:06 UTC) #3
viettrungluu
4 years, 6 months ago (2016-06-23 20:02:10 UTC) #5
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
17e05c2be2a0c46f2ec88d49626af6770361b5cd (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698