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

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

Issue 471743002: - Make sure that the threads for dart::bin are in the correct namespace. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « runtime/bin/lockers.h ('k') | runtime/bin/process.cc » ('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_PROCESS_H_ 5 #ifndef BIN_PROCESS_H_
6 #define BIN_PROCESS_H_ 6 #define BIN_PROCESS_H_
7 7
8 #include "bin/builtin.h" 8 #include "bin/builtin.h"
9 #include "bin/io_buffer.h" 9 #include "bin/io_buffer.h"
10 #include "bin/lockers.h" 10 #include "bin/lockers.h"
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 static intptr_t SetSignalHandler(intptr_t signal); 123 static intptr_t SetSignalHandler(intptr_t signal);
124 static void ClearSignalHandler(intptr_t signal); 124 static void ClearSignalHandler(intptr_t signal);
125 125
126 static Dart_Handle GetProcessIdNativeField(Dart_Handle process, 126 static Dart_Handle GetProcessIdNativeField(Dart_Handle process,
127 intptr_t* pid); 127 intptr_t* pid);
128 static Dart_Handle SetProcessIdNativeField(Dart_Handle process, 128 static Dart_Handle SetProcessIdNativeField(Dart_Handle process,
129 intptr_t pid); 129 intptr_t pid);
130 130
131 private: 131 private:
132 static int global_exit_code_; 132 static int global_exit_code_;
133 static dart::Mutex* global_exit_code_mutex_; 133 static Mutex* global_exit_code_mutex_;
134 134
135 DISALLOW_ALLOCATION(); 135 DISALLOW_ALLOCATION();
136 DISALLOW_IMPLICIT_CONSTRUCTORS(Process); 136 DISALLOW_IMPLICIT_CONSTRUCTORS(Process);
137 }; 137 };
138 138
139 139
140 class SignalInfo { 140 class SignalInfo {
141 public: 141 public:
142 SignalInfo(int fd, int signal, SignalInfo* next) 142 SignalInfo(int fd, int signal, SignalInfo* next)
143 : fd_(fd), 143 : fd_(fd),
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 intptr_t data_size_; 275 intptr_t data_size_;
276 276
277 // Number of free bytes in the last node in the list. 277 // Number of free bytes in the last node in the list.
278 intptr_t free_size_; 278 intptr_t free_size_;
279 }; 279 };
280 280
281 } // namespace bin 281 } // namespace bin
282 } // namespace dart 282 } // namespace dart
283 283
284 #endif // BIN_PROCESS_H_ 284 #endif // BIN_PROCESS_H_
OLDNEW
« no previous file with comments | « runtime/bin/lockers.h ('k') | runtime/bin/process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698