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

Issue 147083015: Fix file-watcher on mac by always starting/stopping through the run-loop thread. (Closed)

Created:
6 years, 10 months ago by Anders Johnsen
Modified:
6 years, 10 months ago
Reviewers:
Søren Gjesse
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Fix file-watcher on mac by always starting/stopping through the run-loop thread. This also fixes some system error-printing and maybe also early events. BUG=https://code.google.com/p/dart/issues/detail?id=16216 R=sgjesse@google.com Committed: https://code.google.com/p/dart/source/detail?r=32355

Patch Set 1 #

Total comments: 8

Patch Set 2 : Comments and asserts #

Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -17 lines) Patch
M runtime/bin/file_system_watcher_macos.cc View 1 5 chunks +66 lines, -17 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Anders Johnsen
6 years, 10 months ago (2014-02-06 12:25:10 UTC) #1
Søren Gjesse
https://codereview.chromium.org/147083015/diff/1/runtime/bin/file_system_watcher_macos.cc File runtime/bin/file_system_watcher_macos.cc (right): https://codereview.chromium.org/147083015/diff/1/runtime/bin/file_system_watcher_macos.cc#newcode61 runtime/bin/file_system_watcher_macos.cc:61: ready_(false), Indent https://codereview.chromium.org/147083015/diff/1/runtime/bin/file_system_watcher_macos.cc#newcode90 runtime/bin/file_system_watcher_macos.cc:90: void Start() { ASSERT(!ready_) https://codereview.chromium.org/147083015/diff/1/runtime/bin/file_system_watcher_macos.cc#newcode115 ...
6 years, 10 months ago (2014-02-06 13:04:18 UTC) #2
Anders Johnsen
PTAL https://codereview.chromium.org/147083015/diff/1/runtime/bin/file_system_watcher_macos.cc File runtime/bin/file_system_watcher_macos.cc (right): https://codereview.chromium.org/147083015/diff/1/runtime/bin/file_system_watcher_macos.cc#newcode61 runtime/bin/file_system_watcher_macos.cc:61: ready_(false), On 2014/02/06 13:04:19, Søren Gjesse wrote: > ...
6 years, 10 months ago (2014-02-06 13:15:22 UTC) #3
Søren Gjesse
lgtm
6 years, 10 months ago (2014-02-06 13:16:00 UTC) #4
Anders Johnsen
6 years, 10 months ago (2014-02-06 13:16:20 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 manually as r32355 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698