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

#include <v8-platform.h>

Collaboration diagram for v8::ScopedBlockingCall:

Public Member Functions

virtual ~ScopedBlockingCall ()=default
 

Detailed Description

This class is instantiated with CreateBlockingScope() in every scope where a blocking call is made and serves as a precise annotation of the scope that may/will block. May be implemented by an embedder to adjust the thread count. CPU usage should be minimal within that scope. ScopedBlockingCalls can be nested.

Definition at line 347 of file v8-platform.h.

Constructor & Destructor Documentation

◆ ~ScopedBlockingCall()

virtual v8::ScopedBlockingCall::~ScopedBlockingCall ( )
virtualdefault

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