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

Side by Side Diff: runtime/bin/process_patch.dart

Issue 130893010: Fix signal handler in checked mode.. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 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 | « no previous file | no next file » | 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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 patch class _WindowsCodePageDecoder { 5 patch class _WindowsCodePageDecoder {
6 /* patch */ static String _decodeBytes(List<int> bytes) 6 /* patch */ static String _decodeBytes(List<int> bytes)
7 native "SystemEncodingToString"; 7 native "SystemEncodingToString";
8 } 8 }
9 9
10 10
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 }); 107 });
108 } 108 }
109 109
110 void _cancel() { 110 void _cancel() {
111 if (_id != null) { 111 if (_id != null) {
112 _clearSignalHandler(signal._signalNumber); 112 _clearSignalHandler(signal._signalNumber);
113 _id = null; 113 _id = null;
114 } 114 }
115 } 115 }
116 116
117 /* patch */ static int _setSignalHandler(int signal) 117 /* patch */ static _setSignalHandler(int signal)
118 native "Process_SetSignalHandler"; 118 native "Process_SetSignalHandler";
119 /* patch */ static int _clearSignalHandler(int signal) 119 /* patch */ static int _clearSignalHandler(int signal)
120 native "Process_ClearSignalHandler"; 120 native "Process_ClearSignalHandler";
121 } 121 }
122 122
123 123
124 patch class _ProcessUtils { 124 patch class _ProcessUtils {
125 /* patch */ static void _exit(int status) native "Process_Exit"; 125 /* patch */ static void _exit(int status) native "Process_Exit";
126 /* patch */ static void _setExitCode(int status) 126 /* patch */ static void _setExitCode(int status)
127 native "Process_SetExitCode"; 127 native "Process_SetExitCode";
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after
533 const _ProcessResult(int this.pid, 533 const _ProcessResult(int this.pid,
534 int this.exitCode, 534 int this.exitCode,
535 this.stdout, 535 this.stdout,
536 this.stderr); 536 this.stderr);
537 537
538 final int pid; 538 final int pid;
539 final int exitCode; 539 final int exitCode;
540 final stdout; 540 final stdout;
541 final stderr; 541 final stderr;
542 } 542 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698