![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
Public Member Functions | |
WorkerThread (DefaultWorkerThreadsTaskRunner *runner, base::Thread::Priority priority) | |
~WorkerThread () override | |
WorkerThread (const WorkerThread &)=delete | |
WorkerThread & | operator= (const WorkerThread &)=delete |
void | Run () override |
void | Notify () |
![]() | |
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 |
PlatformData * | data () |
Priority | priority () const |
void | NotifyStartedAndRun () |
Private Attributes | |
DefaultWorkerThreadsTaskRunner * | runner_ |
base::ConditionVariable | condition_var_ |
Additional Inherited Members | |
![]() | |
enum class | Priority { kBestEffort , kUserVisible , kUserBlocking , kDefault } |
using | LocalStorageKey = int32_t |
![]() | |
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) |
![]() | |
static const int | kMaxThreadNameLength = 16 |
Definition at line 50 of file default-worker-threads-task-runner.h.
|
explicit |
Definition at line 75 of file default-worker-threads-task-runner.cc.
|
override |
Definition at line 83 of file default-worker-threads-task-runner.cc.
|
delete |
void v8::platform::DefaultWorkerThreadsTaskRunner::WorkerThread::Notify | ( | ) |
Definition at line 117 of file default-worker-threads-task-runner.cc.
|
delete |
|
overridevirtual |
Implements v8::base::Thread.
Definition at line 88 of file default-worker-threads-task-runner.cc.
|
private |
Definition at line 66 of file default-worker-threads-task-runner.h.
|
private |
Definition at line 65 of file default-worker-threads-task-runner.h.