| Index: runtime/bin/process.cc
|
| diff --git a/runtime/bin/process.cc b/runtime/bin/process.cc
|
| index b4a80846b448dc96790122a75036163bb0320601..8e830e9a43ec6e40c101995a068dcdab48e79d73 100644
|
| --- a/runtime/bin/process.cc
|
| +++ b/runtime/bin/process.cc
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| @@ -114,3 +114,11 @@ void FUNCTION_NAME(Process_Kill)(Dart_NativeArguments args) {
|
| Dart_SetReturnValue(args, Dart_NewBoolean(success));
|
| Dart_ExitScope();
|
| }
|
| +
|
| +
|
| +void FUNCTION_NAME(Process_Exit)(Dart_NativeArguments args) {
|
| + Dart_EnterScope();
|
| + intptr_t pid = DartUtils::GetIntegerValue(Dart_GetNativeArgument(args, 1));
|
| + Process::Exit(pid);
|
| + Dart_ExitScope();
|
| +}
|
|
|