![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <parked-scope.h>
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) |
![]() | |
Thread (const Options &options) | |
Thread (const Thread &)=delete | |
Thread & | operator= (const Thread &)=delete |
virtual | ~Thread () |
V8_WARN_UNUSED_RESULT bool | Start () |
bool | StartSynchronously () |
void | Join () |
const char * | name () const |
virtual void | Run ()=0 |
PlatformData * | data () |
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 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 | |
![]() | |
enum class | Priority { kBestEffort , kUserVisible , kUserBlocking , kDefault } |
using | LocalStorageKey = int32_t |
![]() | |
static const int | kMaxThreadNameLength = 16 |
Definition at line 197 of file parked-scope.h.
|
inlineexplicit |
Definition at line 199 of file parked-scope.h.
|
inline |
V8_INLINE void v8::internal::ParkingThread::ParkedJoin | ( | LocalIsolate * | local_isolate | ) |
Definition at line 114 of file parked-scope-inl.h.
|
inlinestatic |
Definition at line 217 of file parked-scope.h.
|
static |
Definition at line 125 of file parked-scope-inl.h.