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

Issue 8463032: Wait on the monotonic clock to guard against changes to the system clock. (Closed)

Created:
9 years, 1 month ago by cshapiro
Modified:
9 years, 1 month ago
Reviewers:
siva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Wait on the monotonic clock to guard against changes to the system clock. Committed: https://code.google.com/p/dart/source/detail?r=1522

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -17 lines) Patch
M runtime/vm/globals.h View 1 1 chunk +11 lines, -0 lines 0 comments Download
M runtime/vm/thread_linux.cc View 1 2 chunks +26 lines, -17 lines 0 comments Download
M runtime/vm/vm.gypi View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
cshapiro
The existing thread test seems kind of weak. I am wondering if there might be ...
9 years, 1 month ago (2011-11-12 03:31:52 UTC) #1
siva
LGTM http://codereview.chromium.org/8463032/diff/1/runtime/vm/thread_linux.cc File runtime/vm/thread_linux.cc (right): http://codereview.chromium.org/8463032/diff/1/runtime/vm/thread_linux.cc#newcode21 runtime/vm/thread_linux.cc:21: int64_t secs = millis / 1000; Maybe we ...
9 years, 1 month ago (2011-11-14 18:32:28 UTC) #2
cshapiro
9 years, 1 month ago (2011-11-14 22:24:25 UTC) #3
http://codereview.chromium.org/8463032/diff/1/runtime/vm/thread_linux.cc
File runtime/vm/thread_linux.cc (right):

http://codereview.chromium.org/8463032/diff/1/runtime/vm/thread_linux.cc#newc...
runtime/vm/thread_linux.cc:21: int64_t secs = millis / 1000;
Good idea.  I have added to globals.h time constants borrowed from Chrome's Time
class.

http://codereview.chromium.org/8463032/diff/1/runtime/vm/thread_linux.cc#newc...
runtime/vm/thread_linux.cc:163: {
Yeah, in fact, I wrote it that way originally.  Reverted.  Done.

Powered by Google App Engine
This is Rietveld 408576698