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

Issue 104803005: Use timerfd to handler timeouts on Linux. (Closed)

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

Description

Use timerfd to handle timeouts on Linux. BUG= R=sgjesse@google.com Committed: https://code.google.com/p/dart/source/detail?r=30884

Patch Set 1 #

Patch Set 2 : Close timer fd. #

Total comments: 8

Patch Set 3 : Use sizeof #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -37 lines) Patch
M runtime/bin/eventhandler_linux.h View 2 chunks +1 line, -2 lines 0 comments Download
M runtime/bin/eventhandler_linux.cc View 1 2 7 chunks +34 lines, -31 lines 0 comments Download
M sdk/lib/io/timer_impl.dart View 1 2 chunks +6 lines, -4 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Anders Johnsen
I think we should land this and see how it behaves, before we port it ...
7 years ago (2013-12-04 20:27:57 UTC) #1
Søren Gjesse
LGTM - This looks much cleaner https://codereview.chromium.org/104803005/diff/10001/runtime/bin/eventhandler_linux.cc File runtime/bin/eventhandler_linux.cc (right): https://codereview.chromium.org/104803005/diff/10001/runtime/bin/eventhandler_linux.cc#newcode208 runtime/bin/eventhandler_linux.cc:208: if (msg[i].id == ...
7 years ago (2013-12-05 07:39:34 UTC) #2
Anders Johnsen
https://codereview.chromium.org/104803005/diff/10001/runtime/bin/eventhandler_linux.cc File runtime/bin/eventhandler_linux.cc (right): https://codereview.chromium.org/104803005/diff/10001/runtime/bin/eventhandler_linux.cc#newcode208 runtime/bin/eventhandler_linux.cc:208: if (msg[i].id == kTimerId) { On 2013/12/05 07:39:34, Søren ...
7 years ago (2013-12-05 09:18:27 UTC) #3
Anders Johnsen
7 years ago (2013-12-05 09:22:13 UTC) #4
Message was sent while issue was closed.
Committed patchset #3 manually as r30884 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698