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

Unified Diff: src/futex-emulation.cc

Issue 1321543004: [futex] Allow debugger to break in the middle of a futexWait Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: pass parameter through HandleInterrupts Created 5 years, 4 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
Index: src/futex-emulation.cc
diff --git a/src/futex-emulation.cc b/src/futex-emulation.cc
index b0e514e8af2a11c8094f2438fa651ed4172fb142..7bc94ea9bbce5ec4e5b828c918a5da0fa922fd49 100644
--- a/src/futex-emulation.cc
+++ b/src/futex-emulation.cc
@@ -141,7 +141,8 @@ Object* FutexEmulation::Wait(Isolate* isolate,
// notification will wake up the condition variable. node->waiting() will
// be false, so we'll loop and then check interrupts.
if (interrupted) {
- Object* interrupt_object = isolate->stack_guard()->HandleInterrupts();
+ Object* interrupt_object =
+ isolate->stack_guard()->HandleInterrupts(BreakInNonDebuggable);
if (interrupt_object->IsException()) {
result = interrupt_object;
mutex_.Pointer()->Lock();
« src/execution.h ('K') | « src/execution.cc ('k') | test/cctest/test-debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698