V8 API Reference Guide generated from the header files
Public Member Functions | Static Public Member Functions
v8::Locker Class Reference

Public Member Functions

V8_INLINE Locker (Isolate *isolate)
 
 Locker (const Locker &)=delete
 
void operator= (const Locker &)=delete
 

Static Public Member Functions

static bool IsLocked (Isolate *isolate)
 
static bool IsActive ()
 

Constructor & Destructor Documentation

◆ Locker()

V8_INLINE v8::Locker::Locker ( Isolate isolate)
inlineexplicit

Initialize Locker for a given Isolate.

Member Function Documentation

◆ IsActive()

static bool v8::Locker::IsActive ( )
static

Returns whether v8::Locker is being used by this V8 instance.

◆ IsLocked()

static bool v8::Locker::IsLocked ( Isolate isolate)
static

Returns whether or not the locker for a given isolate, is locked by the current thread.


The documentation for this class was generated from the following file: