v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#include <v8.h>
Public Member Functions | |
V8_INLINE | Locker (Isolate *isolate) |
~Locker () | |
Static Public Member Functions | |
static bool | IsLocked (Isolate *isolate) |
static bool | IsActive () |
~Locker | ( | ) |
Definition at line 98 of file v8threads.cc.
References ThreadManager::ArchiveThread(), ASSERT, ThreadManager::FreeThreadResources(), Isolate::IsDefaultIsolate(), ThreadManager::IsLockedByCurrentThread(), Isolate::thread_manager(), and ThreadManager::Unlock().
|
static |
Returns whether v8::Locker is being used by this V8 instance.
Definition at line 93 of file v8threads.cc.
Referenced by HandleScope::Initialize().
|
static |
Returns whether or not the locker for a given isolate, is locked by the current thread.
Definition at line 86 of file v8threads.cc.
References ASSERT, ThreadManager::IsLockedByCurrentThread(), NULL, and Isolate::thread_manager().
Referenced by LockAndUnlockDifferentIsolatesThread::Run(), LockUnlockLockThread::Run(), TEST(), and THREADED_TEST().