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

Unified Diff: runtime/bin/platform_linux.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 | « runtime/bin/platform_android.cc ('k') | runtime/bin/platform_macos.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/platform_linux.cc
diff --git a/runtime/bin/platform_linux.cc b/runtime/bin/platform_linux.cc
index 4a70ee5821d1ab95747c1af43ab799c137a03c73..af557af9bead2b39afea05d69cec8f32443409e3 100644
--- a/runtime/bin/platform_linux.cc
+++ b/runtime/bin/platform_linux.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 | « runtime/bin/platform_android.cc ('k') | runtime/bin/platform_macos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698