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

#include <v8threads.h>

Collaboration diagram for v8::internal::ThreadState:

Public Types

enum  List { FREE_LIST , IN_USE_LIST }
 

Public Member Functions

ThreadStateNext ()
 
void LinkInto (List list)
 
void Unlink ()
 
void set_id (ThreadId id)
 
ThreadId id ()
 
char * data ()
 

Private Member Functions

 ThreadState (ThreadManager *thread_manager)
 
 ~ThreadState ()
 
void AllocateSpace ()
 

Private Attributes

ThreadId id_
 
char * data_
 
ThreadStatenext_
 
ThreadStateprevious_
 
ThreadManagerthread_manager_
 

Friends

class ThreadManager
 

Detailed Description

Definition at line 18 of file v8threads.h.

Member Enumeration Documentation

◆ List

Enumerator
FREE_LIST 
IN_USE_LIST 

Definition at line 23 of file v8threads.h.

Constructor & Destructor Documentation

◆ ThreadState()

v8::internal::ThreadState::ThreadState ( ThreadManager * thread_manager)
explicitprivate

Definition at line 169 of file v8threads.cc.

◆ ~ThreadState()

v8::internal::ThreadState::~ThreadState ( )
private

Definition at line 176 of file v8threads.cc.

Here is the call graph for this function:

Member Function Documentation

◆ AllocateSpace()

void v8::internal::ThreadState::AllocateSpace ( )
private

Definition at line 178 of file v8threads.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ data()

char * v8::internal::ThreadState::data ( )
inline

Definition at line 33 of file v8threads.h.

◆ id()

ThreadId v8::internal::ThreadState::id ( )
inline

Definition at line 30 of file v8threads.h.

Here is the caller graph for this function:

◆ LinkInto()

void v8::internal::ThreadState::LinkInto ( List list)

Definition at line 187 of file v8threads.cc.

Here is the caller graph for this function:

◆ Next()

ThreadState * v8::internal::ThreadState::Next ( )

Definition at line 212 of file v8threads.cc.

Here is the caller graph for this function:

◆ set_id()

void v8::internal::ThreadState::set_id ( ThreadId id)
inline

Definition at line 29 of file v8threads.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Unlink()

void v8::internal::ThreadState::Unlink ( )

Definition at line 182 of file v8threads.cc.

Friends And Related Symbol Documentation

◆ ThreadManager

friend class ThreadManager
friend

Definition at line 48 of file v8threads.h.

Member Data Documentation

◆ data_

char* v8::internal::ThreadState::data_
private

Definition at line 42 of file v8threads.h.

◆ id_

ThreadId v8::internal::ThreadState::id_
private

Definition at line 41 of file v8threads.h.

◆ next_

ThreadState* v8::internal::ThreadState::next_
private

Definition at line 43 of file v8threads.h.

◆ previous_

ThreadState* v8::internal::ThreadState::previous_
private

Definition at line 44 of file v8threads.h.

◆ thread_manager_

ThreadManager* v8::internal::ThreadState::thread_manager_
private

Definition at line 46 of file v8threads.h.


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