v8  3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ThreadState Class Reference

#include <v8threads.h>

Public Types

enum  List { FREE_LIST, IN_USE_LIST }
 

Public Member Functions

ThreadStateNext ()
 
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 ()
 

Friends

class ThreadManager
 

Detailed Description

Definition at line 35 of file v8threads.h.

Member Enumeration Documentation

enum List
Enumerator
FREE_LIST 
IN_USE_LIST 

Definition at line 40 of file v8threads.h.

Member Function Documentation

char* data ( )
inline
void LinkInto ( List  list)

Definition at line 264 of file v8threads.cc.

References ThreadState::FREE_LIST.

Referenced by ThreadManager::RestoreThread().

void set_id ( ThreadId  id)
inline

Definition at line 46 of file v8threads.h.

References ThreadState::id().

Referenced by ThreadManager::ArchiveThread(), and ThreadManager::RestoreThread().

void set_terminate_on_restore ( bool  terminate_on_restore)
inline
bool terminate_on_restore ( )
inline
void Unlink ( )

Definition at line 258 of file v8threads.cc.

Referenced by ThreadManager::ArchiveThread(), and ThreadManager::RestoreThread().

Friends And Related Function Documentation

friend class ThreadManager
friend

Definition at line 72 of file v8threads.h.


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