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

Unified Diff: runtime/bin/process_win.cc

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
« runtime/bin/process_impl.dart ('K') | « runtime/bin/process_macos.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/process_win.cc
diff --git a/runtime/bin/process_win.cc b/runtime/bin/process_win.cc
index 07df45420eb0a0c8445dedefd402427f78a583fe..b24cf8937c6f5b22cef0bb5ae428c75bfa11aa67 100644
--- a/runtime/bin/process_win.cc
+++ b/runtime/bin/process_win.cc
@@ -500,7 +500,8 @@ int Process::Start(const char* path,
}
-bool Process::Kill(intptr_t id) {
+bool Process::Kill(intptr_t id, int signal) {
+ // signal is not used on windows.
HANDLE process_handle;
HANDLE wait_handle;
HANDLE exit_pipe;
« runtime/bin/process_impl.dart ('K') | « runtime/bin/process_macos.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698