v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::NoGarbageCollectionMutexGuard Class Reference

#include <assert-scope.h>

Collaboration diagram for v8::internal::NoGarbageCollectionMutexGuard:

Public Member Functions

 NoGarbageCollectionMutexGuard (base::Mutex *mutex)
 
void Unlock ()
 
void Lock ()
 

Private Attributes

base::MutexGuard guard_
 
base::Mutexmutex_
 
std::optional< DisallowGarbageCollectionno_gc_
 

Detailed Description

Definition at line 296 of file assert-scope.h.

Constructor & Destructor Documentation

◆ NoGarbageCollectionMutexGuard()

v8::internal::NoGarbageCollectionMutexGuard::NoGarbageCollectionMutexGuard ( base::Mutex * mutex)
inlineexplicit

Definition at line 298 of file assert-scope.h.

Member Function Documentation

◆ Lock()

void v8::internal::NoGarbageCollectionMutexGuard::Lock ( )
inline

Definition at line 305 of file assert-scope.h.

Here is the caller graph for this function:

◆ Unlock()

void v8::internal::NoGarbageCollectionMutexGuard::Unlock ( )
inline

Definition at line 301 of file assert-scope.h.

Here is the caller graph for this function:

Member Data Documentation

◆ guard_

base::MutexGuard v8::internal::NoGarbageCollectionMutexGuard::guard_
private

Definition at line 311 of file assert-scope.h.

◆ mutex_

base::Mutex* v8::internal::NoGarbageCollectionMutexGuard::mutex_
private

Definition at line 312 of file assert-scope.h.

◆ no_gc_

std::optional<DisallowGarbageCollection> v8::internal::NoGarbageCollectionMutexGuard::no_gc_
private

Definition at line 313 of file assert-scope.h.


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