v8 12.4.254 (node 22.4.1)
V8 is Google's open source JavaScript engine
Loading...
Searching...
No Matches
Locker Class Reference

#include <v8-locker.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)
 

Detailed Description

Definition at line 109 of file v8-locker.h.

Constructor & Destructor Documentation

◆ Locker() [1/2]

V8_INLINE Locker ( Isolate isolate)
inlineexplicit

Initialize Locker for a given Isolate.

Definition at line 114 of file v8-locker.h.

◆ ~Locker()

~Locker ( )

◆ Locker() [2/2]

Locker ( const Locker )
delete

Member Function Documentation

◆ IsLocked()

static bool IsLocked ( Isolate isolate)
static

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

◆ operator=()

void operator= ( const Locker )
delete

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