Index: src/v8threads.cc |
diff --git a/src/v8threads.cc b/src/v8threads.cc |
index c9a8bb6fa2df0f7ea70b56a0fdf69094a8a14af2..52f82e2911899d55ecbf21783b3528264406fc06 100644 |
--- a/src/v8threads.cc |
+++ b/src/v8threads.cc |
@@ -94,6 +94,11 @@ bool Locker::IsLocked(v8::Isolate* isolate) { |
} |
+bool Locker::IsActive() { |
+ return active_; |
+} |
+ |
+ |
Locker::~Locker() { |
ASSERT(isolate_->thread_manager()->IsLockedByCurrentThread()); |
if (has_lock_) { |