diff options
author | jar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-15 06:13:35 +0000 |
---|---|---|
committer | jar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-15 06:13:35 +0000 |
commit | af391f0f9255a08f839068afee22c10f7b227734 (patch) | |
tree | 4798e109dca7a6618760351d3a12df66ea7bc80b /.gitignore | |
parent | d46e5d7ff190e5790e9fc57e1ac260b5d51eeb12 (diff) | |
download | chromium_src-af391f0f9255a08f839068afee22c10f7b227734.zip chromium_src-af391f0f9255a08f839068afee22c10f7b227734.tar.gz chromium_src-af391f0f9255a08f839068afee22c10f7b227734.tar.bz2 |
Improve fast-shutdown path to prevent flakiness
The current pattern used in the fast shutdown path
is to send a message to the file thread, and assume
that when it responds, then all prior file thread tasks
are done. The "response" is a quit message. It is
possible that some other quit messages are pending,
and may cause us to terminate before the "real"
response comes. This changes carefully waits for the
real response, and pushes back any extra quit messages
that are detected in case other code is waiting for them.
r=darin
BUG=96639
Review URL: http://codereview.chromium.org/7891065
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101255 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions