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

Issue 22901017: Always initialize the EventHandler in the standalone. (Closed)

Created:
7 years, 4 months ago by Anders Johnsen
Modified:
7 years, 4 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org, siva
Visibility:
Public.

Description

Always initialize the EventHandler in the standalone. BUG= R=sgjesse@google.com Committed: https://code.google.com/p/dart/source/detail?r=26517

Patch Set 1 #

Total comments: 8

Patch Set 2 : Simplify impl and don't call Stop (other isolates may still be running). #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -82 lines) Patch
M runtime/bin/eventhandler.h View 1 1 chunk +9 lines, -10 lines 0 comments Download
M runtime/bin/eventhandler.cc View 1 2 chunks +16 lines, -33 lines 0 comments Download
M runtime/bin/eventhandler_android.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download
M runtime/bin/eventhandler_linux.cc View 1 1 chunk +3 lines, -0 lines 2 comments Download
M runtime/bin/eventhandler_macos.cc View 1 1 chunk +3 lines, -0 lines 2 comments Download
M runtime/bin/eventhandler_patch.dart View 1 chunk +4 lines, -23 lines 0 comments Download
M runtime/bin/io_natives.cc View 1 1 chunk +1 line, -2 lines 0 comments Download
M runtime/bin/main.cc View 1 2 chunks +3 lines, -1 line 0 comments Download
M runtime/bin/socket_patch.dart View 1 chunk +0 lines, -3 lines 0 comments Download
M sdk/lib/_internal/lib/io_patch.dart View 1 1 chunk +3 lines, -7 lines 0 comments Download
M sdk/lib/io/eventhandler.dart View 1 chunk +3 lines, -2 lines 0 comments Download
M sdk/lib/io/timer_impl.dart View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 8 (0 generated)
Anders Johnsen
7 years, 4 months ago (2013-08-21 12:36:45 UTC) #1
Søren Gjesse
LGTM https://codereview.chromium.org/22901017/diff/1/runtime/bin/eventhandler.cc File runtime/bin/eventhandler.cc (right): https://codereview.chromium.org/22901017/diff/1/runtime/bin/eventhandler.cc#newcode69 runtime/bin/eventhandler.cc:69: void EventHandler::Start() { You don't need the mutex ...
7 years, 4 months ago (2013-08-21 13:52:04 UTC) #2
Anders Johnsen
PTAL, Removed the Mutex in EventHandler. We now don't call EventHandler::Stop on exit, as there ...
7 years, 4 months ago (2013-08-22 11:31:05 UTC) #3
Søren Gjesse
LGTM!
7 years, 4 months ago (2013-08-22 12:02:35 UTC) #4
Anders Johnsen
Committed patchset #2 manually as r26517 (presubmit successful).
7 years, 4 months ago (2013-08-22 12:04:21 UTC) #5
Ivan Posva
I am a bit at a loss trying to figure out the motivation for this ...
7 years, 4 months ago (2013-08-23 00:14:16 UTC) #6
Anders Johnsen
Hi Ivan, Sorry for the lack of motivation about this. It's a two things I'm ...
7 years, 4 months ago (2013-08-23 05:15:27 UTC) #7
Anders Johnsen
7 years, 4 months ago (2013-08-23 05:16:26 UTC) #8
Message was sent while issue was closed.
I meant https://codereview.chromium.org/22918023 :)

Powered by Google App Engine
This is Rietveld 408576698