diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2011-08-11 23:59:21 -0700 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2011-08-11 23:59:21 -0700 |
commit | 89bed195134317a10e6ffffe23a90473790f0a7f (patch) | |
tree | 2e3d714711c151458e9ff18bbfa9d04859939ba1 /deps/v8/src/v8threads.cc | |
parent | fb7faefbf53f2e27aa2e9cf9dbd88163eeaefb38 (diff) | |
download | node-new-89bed195134317a10e6ffffe23a90473790f0a7f.tar.gz |
Upgrade V8 to v3.5.4
Diffstat (limited to 'deps/v8/src/v8threads.cc')
-rw-r--r-- | deps/v8/src/v8threads.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/deps/v8/src/v8threads.cc b/deps/v8/src/v8threads.cc index c9a8bb6fa2..52f82e2911 100644 --- a/deps/v8/src/v8threads.cc +++ b/deps/v8/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_) { |