OLD | NEW |
---|---|
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 #include "vm/os.h" | 5 #include "vm/os.h" |
6 | 6 |
7 #include <errno.h> | 7 #include <errno.h> |
8 #include <limits.h> | 8 #include <limits.h> |
9 #include <time.h> | 9 #include <time.h> |
10 #include <sys/resource.h> | 10 #include <sys/resource.h> |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
197 ASSERT(init_once_called == false); | 197 ASSERT(init_once_called == false); |
198 init_once_called = true; | 198 init_once_called = true; |
199 } | 199 } |
200 | 200 |
201 | 201 |
202 void OS::Shutdown() { | 202 void OS::Shutdown() { |
203 } | 203 } |
204 | 204 |
205 | 205 |
206 void OS::Abort() { | 206 void OS::Abort() { |
207 abort(); | 207 abort(); |
cshapiro
2012/08/07 22:39:40
I would like this to interact well with the Androi
| |
208 } | 208 } |
209 | 209 |
210 | 210 |
211 void OS::Exit(int code) { | 211 void OS::Exit(int code) { |
212 exit(code); | 212 exit(code); |
213 } | 213 } |
214 | 214 |
215 } // namespace dart | 215 } // namespace dart |
OLD | NEW |