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

Unified Diff: runtime/bin/process.h

Issue 8227010: Fix deadlock in process exit handling (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Minor fixes Created 9 years, 2 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 04a513c7ee1a05c8c85ac8e2c841d6e7e1ca8708..a8e5d7fe3ae08e8c147fc5c37c8c1e2c814ca139 100644
--- a/runtime/bin/process.h
+++ b/runtime/bin/process.h
@@ -11,6 +11,8 @@
class Process {
public:
+ // Start a new process providing access to stdin, stdout, stderr and
+ // process exit streams.
static int Start(const char* path,
char* arguments[],
intptr_t arguments_length,
@@ -22,8 +24,12 @@ class Process {
char* os_error_message,
int os_error_message_len);
+ // Kill a process with a given pid.
static bool Kill(intptr_t id);
+ // Indicate that he process with the given pid has exited.
Mads Ager (google) 2011/10/11 10:50:27 he -> the
Søren Gjesse 2011/10/11 11:08:03 Done.
+ static void Exit(intptr_t id);
+
DISALLOW_ALLOCATION();
DISALLOW_IMPLICIT_CONSTRUCTORS(Process);
};
« no previous file with comments | « runtime/bin/builtin_in.cc ('k') | runtime/bin/process.cc » ('j') | runtime/bin/process_impl.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698