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

Unified Diff: runtime/bin/process_macos.cc

Issue 262463002: Allow internal usage of SIGQUIT signal listening. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 8 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
« no previous file with comments | « runtime/bin/process_linux.cc ('k') | runtime/bin/process_patch.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/process_macos.cc
diff --git a/runtime/bin/process_macos.cc b/runtime/bin/process_macos.cc
index 6e8ed4651376331160eaac8c65364e72c43c3309..e84b1157927dee9525e7246c16ce89ce82d36f79 100644
--- a/runtime/bin/process_macos.cc
+++ b/runtime/bin/process_macos.cc
@@ -678,14 +678,15 @@ intptr_t Process::CurrentProcessId() {
static Mutex* signal_mutex = new Mutex();
static SignalInfo* signal_handlers = NULL;
-static const int kSignalsCount = 6;
+static const int kSignalsCount = 7;
static const int kSignals[kSignalsCount] = {
SIGHUP,
SIGINT,
SIGTERM,
SIGUSR1,
SIGUSR2,
- SIGWINCH
+ SIGWINCH,
+ SIGQUIT // Allow VMService to listen on SIGQUIT.
};
« no previous file with comments | « runtime/bin/process_linux.cc ('k') | runtime/bin/process_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698