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

Issue 21628002: Re-implement directory polling. (Closed)

Created:
7 years, 4 months ago by Bob Nystrom
Modified:
7 years, 4 months ago
Reviewers:
nweiz
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Re-implement directory polling. BUG=https://code.google.com/p/dart/issues/detail?id=12107 R=nweiz@google.com Committed: https://code.google.com/p/dart/source/detail?r=25746

Patch Set 1 #

Total comments: 22

Patch Set 2 : Revise. #

Patch Set 3 : Split out async queue. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+240 lines, -139 lines) Patch
M pkg/pkg.status View 1 1 chunk +0 lines, -4 lines 0 comments Download
A pkg/watcher/lib/src/async_queue.dart View 1 2 1 chunk +74 lines, -0 lines 0 comments Download
M pkg/watcher/lib/src/directory_watcher.dart View 1 2 5 chunks +156 lines, -125 lines 0 comments Download
M pkg/watcher/test/no_subscription_test.dart View 2 chunks +5 lines, -5 lines 0 comments Download
M pkg/watcher/test/utils.dart View 4 chunks +5 lines, -5 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Bob Nystrom
I'm hoping this will make it less flaky. The main changes here are: 1. We ...
7 years, 4 months ago (2013-08-01 20:59:18 UTC) #1
nweiz
https://codereview.chromium.org/21628002/diff/1/pkg/watcher/lib/src/directory_watcher.dart File pkg/watcher/lib/src/directory_watcher.dart (right): https://codereview.chromium.org/21628002/diff/1/pkg/watcher/lib/src/directory_watcher.dart#newcode61 pkg/watcher/lib/src/directory_watcher.dart:61: /// from [_filesToCheck]. "_filesToCheck" -> "_filesToProcess" https://codereview.chromium.org/21628002/diff/1/pkg/watcher/lib/src/directory_watcher.dart#newcode71 pkg/watcher/lib/src/directory_watcher.dart:71: final ...
7 years, 4 months ago (2013-08-01 22:52:39 UTC) #2
Bob Nystrom
I've kept the queue because I think it's working well and changing it will be ...
7 years, 4 months ago (2013-08-02 17:26:29 UTC) #3
nweiz
LGTM, with one suggestion. https://codereview.chromium.org/21628002/diff/1/pkg/watcher/lib/src/directory_watcher.dart File pkg/watcher/lib/src/directory_watcher.dart (right): https://codereview.chromium.org/21628002/diff/1/pkg/watcher/lib/src/directory_watcher.dart#newcode71 pkg/watcher/lib/src/directory_watcher.dart:71: final _filesToProcess = new Queue<String>(); ...
7 years, 4 months ago (2013-08-02 20:07:52 UTC) #4
Bob Nystrom
Thanks! https://codereview.chromium.org/21628002/diff/1/pkg/watcher/lib/src/directory_watcher.dart File pkg/watcher/lib/src/directory_watcher.dart (right): https://codereview.chromium.org/21628002/diff/1/pkg/watcher/lib/src/directory_watcher.dart#newcode71 pkg/watcher/lib/src/directory_watcher.dart:71: final _filesToProcess = new Queue<String>(); On 2013/08/02 20:07:52, ...
7 years, 4 months ago (2013-08-02 21:45:11 UTC) #5
Bob Nystrom
7 years, 4 months ago (2013-08-02 22:01:45 UTC) #6
Message was sent while issue was closed.
Committed patchset #3 manually as r25746 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698