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
ThreadId Class Reference

#include <isolate.h>

Public Member Functions

 ThreadId ()
 
 INLINE (bool Equals(const ThreadId &other) const)
 
 INLINE (bool IsValid() const)
 
int ToInteger () const
 

Static Public Member Functions

static ThreadId Current ()
 
static ThreadId Invalid ()
 
static ThreadId FromInteger (int id)
 

Friends

class Isolate
 

Detailed Description

Definition at line 148 of file isolate.h.

Constructor & Destructor Documentation

ThreadId ( )
inline

Definition at line 151 of file isolate.h.

Referenced by ThreadId::Current(), ThreadId::FromInteger(), and ThreadId::Invalid().

Member Function Documentation

static ThreadId FromInteger ( int  id)
inlinestatic

Definition at line 175 of file isolate.h.

References ThreadId::ThreadId().

Referenced by V8::TerminateExecution().

INLINE ( bool Equals(const ThreadId &other)  const)
inline

Definition at line 160 of file isolate.h.

INLINE ( bool IsValid()  const)
inline

Definition at line 165 of file isolate.h.

static ThreadId Invalid ( )
inlinestatic
int ToInteger ( ) const
inline

Definition at line 171 of file isolate.h.

Referenced by V8::GetCurrentThreadId(), and OptimizingCompilerThread::Run().

Friends And Related Function Documentation

friend class Isolate
friend

Definition at line 190 of file isolate.h.


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