V8 API Reference Guide for node.js v9.10.0 - v9.11.1
Public Member Functions | Static Public Member Functions | List of all members
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

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

Initialize Locker for a given Isolate.

Member Function Documentation

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

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

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: