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

Side by Side Diff: runtime/vm/os_linux.cc

Issue 796063006: Rename Thread -> OSThread. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « runtime/vm/native_symbol_win.cc ('k') | runtime/vm/os_thread.h » ('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 #include "vm/globals.h" 5 #include "vm/globals.h"
6 #if defined(TARGET_OS_LINUX) 6 #if defined(TARGET_OS_LINUX)
7 7
8 #include "vm/os.h" 8 #include "vm/os.h"
9 9
10 #include <errno.h> // NOLINT 10 #include <errno.h> // NOLINT
11 #include <limits.h> // NOLINT 11 #include <limits.h> // NOLINT
12 #include <malloc.h> // NOLINT 12 #include <malloc.h> // NOLINT
13 #include <time.h> // NOLINT 13 #include <time.h> // NOLINT
14 #include <sys/resource.h> // NOLINT 14 #include <sys/resource.h> // NOLINT
15 #include <sys/time.h> // NOLINT 15 #include <sys/time.h> // NOLINT
16 #include <sys/types.h> // NOLINT 16 #include <sys/types.h> // NOLINT
17 #include <sys/syscall.h> // NOLINT 17 #include <sys/syscall.h> // NOLINT
18 #include <sys/stat.h> // NOLINT 18 #include <sys/stat.h> // NOLINT
19 #include <fcntl.h> // NOLINT 19 #include <fcntl.h> // NOLINT
20 #include <unistd.h> // NOLINT 20 #include <unistd.h> // NOLINT
21 21
22 #include "platform/utils.h" 22 #include "platform/utils.h"
23 #include "vm/code_observers.h" 23 #include "vm/code_observers.h"
24 #include "vm/dart.h" 24 #include "vm/dart.h"
25 #include "vm/debuginfo.h" 25 #include "vm/debuginfo.h"
26 #include "vm/isolate.h" 26 #include "vm/isolate.h"
27 #include "vm/lockers.h" 27 #include "vm/lockers.h"
28 #include "vm/thread.h" 28 #include "vm/os_thread.h"
29 #include "vm/vtune.h" 29 #include "vm/vtune.h"
30 #include "vm/zone.h" 30 #include "vm/zone.h"
31 31
32 32
33 namespace dart { 33 namespace dart {
34 34
35 // Linux CodeObservers. 35 // Linux CodeObservers.
36 36
37 DEFINE_FLAG(bool, generate_gdb_symbols, false, 37 DEFINE_FLAG(bool, generate_gdb_symbols, false,
38 "Generate symbols of generated dart functions for debugging with GDB"); 38 "Generate symbols of generated dart functions for debugging with GDB");
(...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after
616 } 616 }
617 617
618 618
619 void OS::Exit(int code) { 619 void OS::Exit(int code) {
620 exit(code); 620 exit(code);
621 } 621 }
622 622
623 } // namespace dart 623 } // namespace dart
624 624
625 #endif // defined(TARGET_OS_LINUX) 625 #endif // defined(TARGET_OS_LINUX)
OLDNEW
« no previous file with comments | « runtime/vm/native_symbol_win.cc ('k') | runtime/vm/os_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698