|
V8 Project
|
#include <worker-thread.h>
Inheritance diagram for v8::platform::WorkerThread:
Collaboration diagram for v8::platform::WorkerThread:Public Member Functions | |
| WorkerThread (TaskQueue *queue) | |
| virtual | ~WorkerThread () |
| virtual void | Run () OVERRIDE |
Public Member Functions inherited from v8::base::Thread | |
| Thread (const Options &options) | |
| virtual | ~Thread () |
| void | Start () |
| void | StartSynchronously () |
| void | Join () |
| const char * | name () const |
| PlatformData * | data () |
| void | NotifyStartedAndRun () |
Private Member Functions | |
| DISALLOW_COPY_AND_ASSIGN (WorkerThread) | |
Private Attributes | |
| TaskQueue * | queue_ |
Friends | |
| class | QuitTask |
Additional Inherited Members | |
Public Types inherited from v8::base::Thread | |
| typedef int32_t | LocalStorageKey |
Static Public Member Functions inherited from v8::base::Thread | |
| static LocalStorageKey | CreateThreadLocalKey () |
| static void | DeleteThreadLocalKey (LocalStorageKey key) |
| static void * | GetThreadLocal (LocalStorageKey key) |
| static int | GetThreadLocalInt (LocalStorageKey key) |
| static void | SetThreadLocal (LocalStorageKey key, void *value) |
| static void | SetThreadLocalInt (LocalStorageKey key, int value) |
| static bool | HasThreadLocal (LocalStorageKey key) |
| static void * | GetExistingThreadLocal (LocalStorageKey key) |
| static void | YieldCPU () |
Static Public Attributes inherited from v8::base::Thread | |
| static const int | kMaxThreadNameLength = 16 |
Definition at line 19 of file worker-thread.h.
|
explicit |
Definition at line 13 of file worker-thread.cc.
References v8::base::Thread::Start().
Here is the call graph for this function:
|
virtual |
Definition at line 19 of file worker-thread.cc.
References v8::base::Thread::Join().
Here is the call graph for this function:
|
private |
|
virtual |
Implements v8::base::Thread.
Definition at line 24 of file worker-thread.cc.
References v8::platform::TaskQueue::GetNext(), and queue_.
Here is the call graph for this function:
|
friend |
Definition at line 28 of file worker-thread.h.
|
private |
Definition at line 30 of file worker-thread.h.
Referenced by Run().