Files
sdk/runtime/vm/signal_handler_android.cc
T
johnmccutchan@google.com 919dc2d6eb * Introduce ThreadInterrupter which calls a TLS set callback when thread is interrupted.
* Threads can only register and unregister themselves with ThreadInterrupter.
* Profiler is no longer involved in interrupting threads. It's just a callback and the buffer.
* Profiler operates lock free using an atomic operation to reserve sample in sample buffer.
* Linux, Mac, and Windows done.

R=asiva@google.com

Review URL: https://codereview.chromium.org//109803002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31170 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-16 18:52:15 +00:00

35 lines
769 B
C++

// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
#include "platform/thread.h"
#include "vm/globals.h"
#include "vm/signal_handler.h"
#if defined(TARGET_OS_ANDROID)
namespace dart {
uintptr_t SignalHandler::GetProgramCounter(const mcontext_t& mcontext) {
UNIMPLEMENTED();
}
uintptr_t SignalHandler::GetFramePointer(const mcontext_t& mcontext) {
UNIMPLEMENTED();
}
uintptr_t SignalHandler::GetStackPointer(const mcontext_t& mcontext) {
UNIMPLEMENTED();
}
void SignalHandler::Install(SignalAction action) {
UNIMPLEMENTED();
}
} // namespace dart
#endif // defined(TARGET_OS_ANDROID)