V8 Project
|
#include <v8threads.h>
Public Types | |
enum | List { FREE_LIST , IN_USE_LIST } |
Public Member Functions | |
ThreadState * | Next () |
void | LinkInto (List list) |
void | Unlink () |
void | set_id (ThreadId id) |
ThreadId | id () |
bool | terminate_on_restore () |
void | set_terminate_on_restore (bool terminate_on_restore) |
char * | data () |
Private Member Functions | |
ThreadState (ThreadManager *thread_manager) | |
~ThreadState () | |
void | AllocateSpace () |
Private Attributes | |
ThreadId | id_ |
bool | terminate_on_restore_ |
char * | data_ |
ThreadState * | next_ |
ThreadState * | previous_ |
ThreadManager * | thread_manager_ |
Friends | |
class | ThreadManager |
Definition at line 12 of file v8threads.h.
|
explicitprivate |
Definition at line 182 of file v8threads.cc.
|
private |
Definition at line 192 of file v8threads.cc.
References data_.
|
private |
Definition at line 197 of file v8threads.cc.
References v8::internal::ArchiveSpacePerThread(), and data_.
Referenced by v8::internal::ThreadManager::GetFreeThreadState().
|
inline |
Definition at line 33 of file v8threads.h.
References data_.
Referenced by v8::internal::ThreadManager::EagerlyArchiveThread(), and v8::internal::ThreadManager::RestoreThread().
|
inline |
Definition at line 24 of file v8threads.h.
References id_.
Referenced by v8::internal::ThreadManager::ArchiveThread(), v8::internal::RUNTIME_FUNCTION(), and set_id().
void v8::internal::ThreadState::LinkInto | ( | List | list | ) |
Definition at line 208 of file v8threads.cc.
References v8::internal::ThreadManager::free_anchor_, FREE_LIST, v8::internal::ThreadManager::in_use_anchor_, next_, previous_, and thread_manager_.
Referenced by v8::internal::ThreadManager::EagerlyArchiveThread(), and v8::internal::ThreadManager::RestoreThread().
ThreadState * v8::internal::ThreadState::Next | ( | ) |
Definition at line 236 of file v8threads.cc.
References v8::internal::ThreadManager::in_use_anchor_, next_, NULL, and thread_manager_.
Referenced by v8::internal::ThreadManager::FirstThreadStateInUse(), and v8::internal::RUNTIME_FUNCTION().
|
inline |
Definition at line 23 of file v8threads.h.
Referenced by v8::internal::ThreadManager::ArchiveThread(), and v8::internal::ThreadManager::RestoreThread().
|
inline |
Definition at line 28 of file v8threads.h.
References terminate_on_restore(), and terminate_on_restore_.
Referenced by v8::internal::ThreadManager::RestoreThread().
|
inline |
Definition at line 27 of file v8threads.h.
References terminate_on_restore_.
Referenced by v8::internal::ThreadManager::RestoreThread(), and set_terminate_on_restore().
void v8::internal::ThreadState::Unlink | ( | ) |
Definition at line 202 of file v8threads.cc.
References next_, and previous_.
Referenced by v8::internal::ThreadManager::ArchiveThread(), and v8::internal::ThreadManager::RestoreThread().
|
friend |
Definition at line 49 of file v8threads.h.
|
private |
Definition at line 43 of file v8threads.h.
Referenced by AllocateSpace(), data(), and ~ThreadState().
|
private |
Definition at line 41 of file v8threads.h.
|
private |
Definition at line 44 of file v8threads.h.
Referenced by v8::internal::ThreadManager::DeleteThreadStateList(), v8::internal::ThreadManager::GetFreeThreadState(), LinkInto(), Next(), and Unlink().
|
private |
Definition at line 45 of file v8threads.h.
Referenced by LinkInto(), and Unlink().
|
private |
Definition at line 42 of file v8threads.h.
Referenced by set_terminate_on_restore(), and terminate_on_restore().
|
private |
Definition at line 47 of file v8threads.h.
Referenced by LinkInto(), and Next().