OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. |
| 4 |
| 5 #include "bin/embedded_dart_io.h" |
| 6 |
| 7 #include "bin/eventhandler.h" |
| 8 #include "bin/thread.h" |
| 9 |
| 10 namespace dart { |
| 11 namespace bin { |
| 12 |
| 13 void BootstrapDartIo() { |
| 14 // Bootstrap 'dart:io' event handler. |
| 15 Thread::InitOnce(); |
| 16 EventHandler::Start(); |
| 17 } |
| 18 |
| 19 } // namespace bin |
| 20 } // namespace dart |
OLD | NEW |