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

Side by Side Diff: runtime/bin/utils.h

Issue 1275853008: Reverts VM thread cleanup (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « runtime/bin/run_vm_tests.cc ('k') | runtime/bin/vmservice/vmservice_io.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 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. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef BIN_UTILS_H_ 5 #ifndef BIN_UTILS_H_
6 #define BIN_UTILS_H_ 6 #define BIN_UTILS_H_
7 7
8 #include <stdlib.h> 8 #include <stdlib.h>
9 #include <string.h> 9 #include <string.h>
10 10
11 #include "include/dart_api.h" 11 #include "include/dart_api.h"
12 #include "platform/globals.h" 12 #include "platform/globals.h"
13 13
14
14 namespace dart { 15 namespace dart {
15 namespace bin { 16 namespace bin {
16 17
17 class OSError { 18 class OSError {
18 public: 19 public:
19 enum SubSystem { 20 enum SubSystem {
20 kSystem, 21 kSystem,
21 kGetAddressInfo, 22 kGetAddressInfo,
22 kNSS, 23 kNSS,
23 kUnknown = -1 24 kUnknown = -1
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 public: 101 public:
101 static int64_t GetCurrentTimeMicros(); 102 static int64_t GetCurrentTimeMicros();
102 static int64_t GetCurrentTimeMilliseconds(); 103 static int64_t GetCurrentTimeMilliseconds();
103 static void Sleep(int64_t millis); 104 static void Sleep(int64_t millis);
104 }; 105 };
105 106
106 } // namespace bin 107 } // namespace bin
107 } // namespace dart 108 } // namespace dart
108 109
109 #endif // BIN_UTILS_H_ 110 #endif // BIN_UTILS_H_
OLDNEW
« no previous file with comments | « runtime/bin/run_vm_tests.cc ('k') | runtime/bin/vmservice/vmservice_io.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698