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

Issue 2870029: move quit of paint message_loop into OnStop() in dervied classes (Closed)

Created:
10 years, 6 months ago by wjia(left Chromium)
Modified:
9 years, 7 months ago
CC:
chromium-reviews, fbarchard, pam+watch_chromium.org, awong, Alpha Left Google, scherkus (not reviewing)
Base URL:
http://src.chromium.org/git/chromium.git
Visibility:
Public.

Description

move quit of paint message_loop into callback of pipeline stop to guarantee message loop will not quit till paint is deinit'ed. BUG=none TEST=dev platform and desktop Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=51070

Patch Set 1 #

Total comments: 2

Patch Set 2 : move quit to pipeline stop callback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -13 lines) Patch
M media/tools/player_x11/player_x11.cc View 1 7 chunks +10 lines, -13 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
wjia(left Chromium)
Now the racing condition during stop is fixed.
10 years, 6 months ago (2010-06-26 02:16:54 UTC) #1
jiesun
I did not get it. why change the message_loop::quit() from glx thread to render thread ...
10 years, 5 months ago (2010-06-28 15:44:06 UTC) #2
wjia(left Chromium)
This is the racing between posting DeInit task and calling Quit(). Splitting "stop" task doesn't ...
10 years, 5 months ago (2010-06-28 17:23:35 UTC) #3
scherkus (not reviewing)
http://codereview.chromium.org/2870029/diff/1/5 File media/tools/player_x11/player_x11.cc (left): http://codereview.chromium.org/2870029/diff/1/5#oldcode180 media/tools/player_x11/player_x11.cc:180: message_loop->Quit(); couldn't we move message_loop->Quit() into the pipeline stop ...
10 years, 5 months ago (2010-06-28 21:00:49 UTC) #4
wjia(left Chromium)
http://codereview.chromium.org/2870029/diff/1/5 File media/tools/player_x11/player_x11.cc (left): http://codereview.chromium.org/2870029/diff/1/5#oldcode180 media/tools/player_x11/player_x11.cc:180: message_loop->Quit(); On 2010/06/28 21:00:49, scherkus wrote: > couldn't we ...
10 years, 5 months ago (2010-06-28 22:54:43 UTC) #5
scherkus (not reviewing)
10 years, 5 months ago (2010-06-28 23:01:59 UTC) #6
nice!

LGTM

Powered by Google App Engine
This is Rietveld 408576698