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

Issue 5750003: Reland r68893 after fixing allowing blocking IO on shutdown. (Closed)

Created:
10 years ago by willchan no longer on Chromium
Modified:
9 years, 7 months ago
CC:
chromium-reviews, pam+watch_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Reland r68893 after fixing allowing blocking IO on shutdown. This time I just turned off the checking for Chrome/Windows because Chrome/Windows shutdown is a clusterf***. TODO(willchan): Give a shit about Windows, get a machine that runs Windows, debug Chrome shutdown on Windows, enable this ThreadRestrictions for Chrome/Windows. Consider PlatformThread::Join() to be blocking IO. Marks PlatformThread::Join() as blocking IO using ThreadRestrictions. Whitelists existing spots where we join on the UI/IO threads. Also noteworthy is I allow blocking IO on shutdown. BUG=65530, 66077, 66082 TEST=existing Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=69079

Patch Set 1 #

Patch Set 2 : Disable for Windows. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -0 lines) Patch
M base/platform_thread_posix.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M base/platform_thread_win.cc View 1 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/browser_process_impl.cc View 1 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/geolocation/geolocation_provider.cc View 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/printing/printer_query.cc View 2 chunks +5 lines, -0 lines 0 comments Download

Powered by Google App Engine
This is Rietveld 408576698