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

Unified Diff: runtime/bin/process.h

Issue 10545134: Give Process.kill an optional argument to specify which signal to send. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: runtime/bin/process.h
diff --git a/runtime/bin/process.h b/runtime/bin/process.h
index a23551a4534c428ff9ace42353ccdb7d445cc734..79359adb341a8c9b19f30799edfb76bb153e5fe7 100644
--- a/runtime/bin/process.h
+++ b/runtime/bin/process.h
@@ -28,7 +28,7 @@ class Process {
int os_error_message_len);
// Kill a process with a given pid.
- static bool Kill(intptr_t id);
+ static bool Kill(intptr_t id, int signal);
// Terminate the exit code handler thread. Does not return before
// the thread has terminated.
« no previous file with comments | « runtime/bin/builtin_natives.cc ('k') | runtime/bin/process.cc » ('j') | runtime/bin/process.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698