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

#include <v8-platform.h>

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 342 of file v8-platform.h.

Constructor & Destructor Documentation

◆ ~ScopedBlockingCall()

virtual ~ScopedBlockingCall ( )
virtualdefault

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