v8  5.5.372(node7.10.1)
V8 is Google's open source JavaScript engine
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 8127 of file v8.h.

Constructor & Destructor Documentation

V8_INLINE Locker ( Isolate isolate)

Initialize Locker for a given Isolate.

Definition at line 8132 of file v8.h.

~Locker ( )
Locker ( const Locker )

Member Function Documentation

static bool IsActive ( )

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

static bool IsLocked ( Isolate isolate)

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

void operator= ( const Locker )

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