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

Unified Diff: runtime/vm/signal_handler_macos.cc

Issue 109803002: Profiler Take 2 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years 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/vm/signal_handler_linux.cc ('k') | runtime/vm/signal_handler_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/signal_handler_macos.cc
diff --git a/runtime/vm/signal_handler_macos.cc b/runtime/vm/signal_handler_macos.cc
index f0e5b15036b57650cb7bb6a56f3ba5d113ebfac5..11e62348de17c9c5b214616984417e9d06a3a9fb 100644
--- a/runtime/vm/signal_handler_macos.cc
+++ b/runtime/vm/signal_handler_macos.cc
@@ -79,18 +79,6 @@ void SignalHandler::Install(SignalAction action) {
}
-ScopedSignalBlocker::ScopedSignalBlocker() {
- sigset_t set;
- sigemptyset(&set);
- sigaddset(&set, SIGPROF);
- pthread_sigmask(SIG_SETMASK, &set, &old_);
-}
-
-
-ScopedSignalBlocker::~ScopedSignalBlocker() {
- pthread_sigmask(SIG_SETMASK, &old_, NULL);
-}
-
} // namespace dart
#endif // defined(TARGET_OS_MACOS)
« no previous file with comments | « runtime/vm/signal_handler_linux.cc ('k') | runtime/vm/signal_handler_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698