V8  latest master commit
V8 is Google's open source JavaScript engine
v8::Locker Class Reference

#include <v8.h>

Public Member Functions

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

Static Public Member Functions

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

Detailed Description

Definition at line 10574 of file v8.h.

Constructor & Destructor Documentation

◆ Locker() [1/2]

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

Initialize Locker for a given Isolate.

Definition at line 10579 of file v8.h.

◆ ~Locker()

v8::Locker::~Locker ( )

◆ Locker() [2/2]

v8::Locker::Locker ( const Locker )
delete

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.

◆ operator=()

void v8::Locker::operator= ( const Locker )
delete

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