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

Unified Diff: runtime/bin/platform_android.cc

Issue 23717038: Simplify process exit-code handling on Posix, take 2. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rename and fix mac & android. Created 7 years, 3 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 | « no previous file | runtime/bin/platform_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/platform_android.cc
diff --git a/runtime/bin/platform_android.cc b/runtime/bin/platform_android.cc
index e069d5aa5200bf52086ef31719a3b932e5e4607f..dfa2e27ac82cd2dc1ce231e11972883afe687386 100644
--- a/runtime/bin/platform_android.cc
+++ b/runtime/bin/platform_android.cc
@@ -26,14 +26,6 @@ bool Platform::Initialize() {
perror("Setting signal handler failed");
return false;
}
- // Unblock SIGCHLD as waiting on spawned child process depends
- // on successful interception of this signal.
- sigset_t newset;
- sigemptyset(&newset);
- sigaddset(&newset, SIGCHLD);
- if (sigprocmask(SIG_UNBLOCK, &newset, NULL) != 0) {
- perror("Unblocking SIGCHLD signal failed");
- }
return true;
}
« no previous file with comments | « no previous file | runtime/bin/platform_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698