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

Issue 228093003: Make File:openRead always have one outstanding read, when invoking callbacks. (Closed)

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

Description

Make File:openRead always have one outstanding read, when invoking callbacks. This sligly improves latency for reading. Note that pause/resume is less precise now, but it was never a guarantee exactly _when_ pausing would take place. BUG= R=sgjesse@google.com Committed: https://code.google.com/p/dart/source/detail?r=34814

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -4 lines) Patch
M sdk/lib/io/file_impl.dart View 1 chunk +6 lines, -3 lines 0 comments Download
M tests/standalone/io/file_input_stream_test.dart View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 3 (0 generated)
Anders Johnsen
This CL depends on https://codereview.chromium.org//227733002.
6 years, 8 months ago (2014-04-08 07:17:40 UTC) #1
Søren Gjesse
lgtm
6 years, 8 months ago (2014-04-08 08:46:19 UTC) #2
Anders Johnsen
6 years, 8 months ago (2014-04-08 08:58:19 UTC) #3
Message was sent while issue was closed.
Committed patchset #1 manually as r34814 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698