#include <v8.h>
Definition at line 3732 of file v8.h.
◆ Locker()
Initialize Locker for a given Isolate. NULL means default isolate.
◆ ~Locker()
◆ IsActive()
Returns whether v8::Locker is being used by this V8 instance.
◆ IsLocked()
static bool IsLocked |
( |
Isolate * |
isolate = NULL | ) |
|
|
static |
Returns whether or not the locker for a given isolate, or default isolate if NULL is given, is locked by the current thread.
◆ StartPreemption()
static void StartPreemption |
( |
int |
every_n_ms | ) |
|
|
static |
Start preemption.
When preemption is started, a timer is fired every n milliseconds that will switch between multiple threads that are in contention for the V8 lock.
◆ StopPreemption()
static void StopPreemption |
( |
| ) |
|
|
static |
The documentation for this class was generated from the following file: