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

Unified Diff: runtime/bin/platform_macos.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_linux.cc ('k') | runtime/bin/process_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/platform_macos.cc
diff --git a/runtime/bin/platform_macos.cc b/runtime/bin/platform_macos.cc
index e1b914b1a2f23e949f847cc3c0416e913119a025..0576c345df54453ffc17ec408c1672ddfc6407ed 100644
--- a/runtime/bin/platform_macos.cc
+++ b/runtime/bin/platform_macos.cc
@@ -27,15 +27,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_linux.cc ('k') | runtime/bin/process_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698