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

Issue 7262011: Change MessagePumpLibevent::Run to handle IO events before doing idle (Closed)

Created:
9 years, 6 months ago by wtc
Modified:
9 years, 5 months ago
CC:
chromium-reviews, brettw-cc_chromium.org
Visibility:
Public.

Description

Change MessagePumpLibevent::Run to process I/O events before doing idle work. R=agl@chromium.org,jar@chromium.org,mark@chromium.org,rvargas@chromium.org BUG=87707 TEST=covered by existing unit tests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=91137

Patch Set 1 #

Total comments: 2

Patch Set 2 : A better solution #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -0 lines) Patch
M base/message_pump_libevent.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M base/message_pump_libevent.cc View 1 3 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
wtc
jar, rvargas: just FYI. This is the MessagePumpLibevent problem I told you about today. http://codereview.chromium.org/7262011/diff/1/base/message_pump_libevent.cc ...
9 years, 6 months ago (2011-06-25 00:39:45 UTC) #1
wtc
jar, rvargas: I came up with a good solution. Please review Patch Set 2.
9 years, 6 months ago (2011-06-28 02:39:54 UTC) #2
rvargas (doing something else)
Looks good to me, but you should get a reviewer familiar with the libevent message ...
9 years, 5 months ago (2011-06-28 18:14:45 UTC) #3
wtc
agl: can you review this patch for MessagePumpLibevent? Please compare MessagePumpLibevent::Run() with essagePumpForIO::DoRunLoop() in base/message_pump_win.cc. ...
9 years, 5 months ago (2011-06-28 22:01:54 UTC) #4
agl
LGTM. I'm happy that DidProcessIOEvent is being called in the right places and that there ...
9 years, 5 months ago (2011-06-28 22:19:30 UTC) #5
jar (doing other things)
I think this LGTM. One plausible gotcha would appear if nested message loops were used. ...
9 years, 5 months ago (2011-06-29 04:20:41 UTC) #6
commit-bot: I haz the power
Presubmit check for 7262011-4001 failed and returned exit status 1. Running presubmit commit checks ...
9 years, 5 months ago (2011-06-30 12:32:31 UTC) #7
wtc
mark: please review this CL. Thanks.
9 years, 5 months ago (2011-06-30 12:35:08 UTC) #8
Mark Mentovai
LGTM for base approval. I agree with jar, this probably isn’t strictly perfect under a ...
9 years, 5 months ago (2011-06-30 13:38:39 UTC) #9
commit-bot: I haz the power
9 years, 5 months ago (2011-06-30 15:39:22 UTC) #10
Change committed as 91137

Powered by Google App Engine
This is Rietveld 408576698