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

Public Member Functions

 StreamerThread (v8::ScriptCompiler::ScriptStreamingTask *task)
 
void Run () override
 
- Public Member Functions inherited from v8::base::Thread
 Thread (const Options &options)
 
 Thread (const Thread &)=delete
 
Threadoperator= (const Thread &)=delete
 
virtual ~Thread ()
 
V8_WARN_UNUSED_RESULT bool Start ()
 
bool StartSynchronously ()
 
void Join ()
 
const char * name () const
 
PlatformDatadata ()
 
Priority priority () const
 
void NotifyStartedAndRun ()
 

Static Public Member Functions

static void StartThreadForTaskAndJoin (v8::ScriptCompiler::ScriptStreamingTask *task)
 
- Static Public Member Functions inherited from v8::base::Thread
static LocalStorageKey CreateThreadLocalKey ()
 
static void DeleteThreadLocalKey (LocalStorageKey key)
 
static void * GetThreadLocal (LocalStorageKey key)
 
static void SetThreadLocal (LocalStorageKey key, void *value)
 
static bool HasThreadLocal (LocalStorageKey key)
 
static void * GetExistingThreadLocal (LocalStorageKey key)
 

Private Attributes

v8::ScriptCompiler::ScriptStreamingTasktask_
 

Additional Inherited Members

- Public Types inherited from v8::base::Thread
enum class  Priority { kBestEffort , kUserVisible , kUserBlocking , kDefault }
 
using LocalStorageKey = int32_t
 
- Static Public Attributes inherited from v8::base::Thread
static const int kMaxThreadNameLength = 16
 

Detailed Description

Definition at line 624 of file d8.cc.

Constructor & Destructor Documentation

◆ StreamerThread()

v8::StreamerThread::StreamerThread ( v8::ScriptCompiler::ScriptStreamingTask * task)
inlineexplicit

Definition at line 633 of file d8.cc.

Member Function Documentation

◆ Run()

void v8::StreamerThread::Run ( )
inlineoverridevirtual

Implements v8::base::Thread.

Definition at line 636 of file d8.cc.

Here is the call graph for this function:

◆ StartThreadForTaskAndJoin()

static void v8::StreamerThread::StartThreadForTaskAndJoin ( v8::ScriptCompiler::ScriptStreamingTask * task)
inlinestatic

Definition at line 626 of file d8.cc.

Here is the caller graph for this function:

Member Data Documentation

◆ task_

v8::ScriptCompiler::ScriptStreamingTask* v8::StreamerThread::task_
private

Definition at line 639 of file d8.cc.


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