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

#include <parked-scope.h>

Inheritance diagram for v8::internal::ParkingThread:
Collaboration diagram for v8::internal::ParkingThread:

Public Member Functions

 ParkingThread (const Options &options)
 
V8_INLINE void ParkedJoin (LocalIsolate *local_isolate)
 
V8_INLINE void ParkedJoin (LocalHeap *local_heap)
 
void ParkedJoin (const ParkedScope &scope)
 
- 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
 
virtual void Run ()=0
 
PlatformDatadata ()
 
Priority priority () const
 
void NotifyStartedAndRun ()
 

Static Public Member Functions

template<typename ThreadCollection >
static V8_INLINE void ParkedJoinAll (LocalIsolate *local_isolate, const ThreadCollection &threads)
 
template<typename ThreadCollection >
static V8_INLINE void ParkedJoinAll (LocalHeap *local_heap, const ThreadCollection &threads)
 
template<typename ThreadCollection >
static void ParkedJoinAll (const ParkedScope &scope, const ThreadCollection &threads)
 
- 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)
 

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 197 of file parked-scope.h.

Constructor & Destructor Documentation

◆ ParkingThread()

v8::internal::ParkingThread::ParkingThread ( const Options & options)
inlineexplicit

Definition at line 199 of file parked-scope.h.

Member Function Documentation

◆ ParkedJoin() [1/3]

void v8::internal::ParkingThread::ParkedJoin ( const ParkedScope & scope)
inline

Definition at line 204 of file parked-scope.h.

Here is the call graph for this function:

◆ ParkedJoin() [2/3]

V8_INLINE void v8::internal::ParkingThread::ParkedJoin ( LocalHeap * local_heap)

Definition at line 118 of file parked-scope-inl.h.

Here is the call graph for this function:

◆ ParkedJoin() [3/3]

V8_INLINE void v8::internal::ParkingThread::ParkedJoin ( LocalIsolate * local_isolate)

Definition at line 114 of file parked-scope-inl.h.

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

◆ ParkedJoinAll() [1/3]

template<typename ThreadCollection >
static void v8::internal::ParkingThread::ParkedJoinAll ( const ParkedScope & scope,
const ThreadCollection & threads )
inlinestatic

Definition at line 217 of file parked-scope.h.

◆ ParkedJoinAll() [2/3]

template<typename ThreadCollection >
V8_INLINE void v8::internal::ParkingThread::ParkedJoinAll ( LocalHeap * local_heap,
const ThreadCollection & threads )
static

Definition at line 132 of file parked-scope-inl.h.

Here is the call graph for this function:

◆ ParkedJoinAll() [3/3]

template<typename ThreadCollection >
V8_INLINE void v8::internal::ParkingThread::ParkedJoinAll ( LocalIsolate * local_isolate,
const ThreadCollection & threads )
static

Definition at line 125 of file parked-scope-inl.h.

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

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